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

Thumbnailer: Minor simplification

parent c69b8e6e
......@@ -182,8 +182,7 @@ parser::Task::Status VLCThumbnailer::startPlayback( parser::Task& task, VLC::Med
if (>type() == Media::Type::Unknown )
{>setType( Media::Type::Audio );
if (>save() == false )
return parser::Task::Status::Fatal;>save();
// We still return an error since we don't want to attempt the thumbnail generation for a
// file without video tracks
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