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

Thumbnailer: Tweak the VLC media to avoid useless features

parent 5f5f34d5
......@@ -91,6 +91,9 @@ parser::Task::Status VLCThumbnailer::run( parser::Task& task )
VLC::Media::FromType::FromPath;
auto vlcMedia = VLC::Media( m_instance, file->mrl(), fromType );
vlcMedia.addOption( ":no-audio" );
vlcMedia.addOption( ":no-osd" );
vlcMedia.addOption( ":no-spu" );
vlcMedia.addOption( ":input-fast-seek" );
VLC::MediaPlayer mp( vlcMedia );
setupVout( mp );
......
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