[vlmc-devel] commit: Revert "Import manager: Fixing false invalid file positive." ( Hugo Beauzée-Luyssen )
git at videolan.org
git at videolan.org
Sun Oct 31 20:07:48 CET 2010
vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Sun Oct 31 20:07:25 2010 +0100| [bd193be3742beeef869e169b4286f185536fa350] | committer: Hugo Beauzée-Luyssen
Revert "Import manager: Fixing false invalid file positive."
This reverts commit b2f3666e5c87c9d6e1207144d372c828d28ed313.
Since they don't have a length, we can't do anything with them... a
default length has been forced.
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=bd193be3742beeef869e169b4286f185536fa350
---
src/Gui/import/ImportController.cpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/Gui/import/ImportController.cpp b/src/Gui/import/ImportController.cpp
index 1eacb58..80a8590 100644
--- a/src/Gui/import/ImportController.cpp
+++ b/src/Gui/import/ImportController.cpp
@@ -231,8 +231,7 @@ ImportController::accept()
collapseAllButCurrentPath();
foreach ( Clip* clip, m_temporaryMedias->clips().values() )
{
- if ( ( clip->getMedia()->lengthMS() == 0 && clip->getMedia()->fileType() != Media::Image ) &&
- clip->getMedia()->inputType() == Media::File )
+ if ( clip->getMedia()->lengthMS() == 0 && clip->getMedia()->inputType() == Media::File )
invalidMedias = true;
Library::getInstance()->addClip( clip );
}
More information about the Vlmc-devel
mailing list