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

VLCThumbnailer: Save media after setting its thumbnail

parent d21a8761
......@@ -369,6 +369,9 @@ bool VLCThumbnailer::compress( std::shared_ptr<Media> file, void *data )
#endif
file->setSnapshot( path );
m_cb->done( file, Status::Success, data );
if ( file->save() == false )
m_cb->done( file, Status::Error, data );
else
m_cb->done( file, Status::Success, data );
return true;
}
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