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

Media: Consider the lack of a file representing a media a fatal error

parent 5a2b780b
......@@ -79,7 +79,7 @@ Media::Media( medialibrary::MediaPtr media )
if ( m_mlFile == nullptr )
vlmcCritical() << "No file representing media", media->title(), "was found";
vlmcFatal( "No file representing media %s", media->title().c_str(), "was found" );
m_input.reset( new Backend::MLT::MLTInput( m_mlFile->mrl().c_str() ) );
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