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

VLCThumbnailer: If we don't have a valid type, abort the parsing process

parent 2cf6ab57
......@@ -57,7 +57,7 @@ void VLCThumbnailer::run(std::shared_ptr<Media> file, void *data )
// If we don't know the file type yet, it actually looks more like a bug
// since this should run after file type deduction, and not run in case
// that step fails.
m_cb->done( file, Status::Error, data );
m_cb->done( file, Status::Fatal, data );
else if ( file->type() != IMedia::Type::VideoType )
Supports Markdown
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