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

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()
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 );
}
......
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