Commit bd193be3 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

Revert "Import manager: Fixing false invalid file positive."

This reverts commit b2f3666e.
Since they don't have a length, we can't do anything with them... a
default length has been forced.
parent a9066275
...@@ -231,8 +231,7 @@ ImportController::accept() ...@@ -231,8 +231,7 @@ ImportController::accept()
collapseAllButCurrentPath(); collapseAllButCurrentPath();
foreach ( Clip* clip, m_temporaryMedias->clips().values() ) foreach ( Clip* clip, m_temporaryMedias->clips().values() )
{ {
if ( ( clip->getMedia()->lengthMS() == 0 && clip->getMedia()->fileType() != Media::Image ) && if ( clip->getMedia()->lengthMS() == 0 && clip->getMedia()->inputType() == Media::File )
clip->getMedia()->inputType() == Media::File )
invalidMedias = true; invalidMedias = true;
Library::getInstance()->addClip( clip ); Library::getInstance()->addClip( clip );
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment