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

MetadataManager: Fix potential dead lock

parent c897e479
......@@ -51,9 +51,11 @@ MetaDataManager::launchComputing( Media *media )
connect( worker, SIGNAL( computed() ),
this, SLOT( computingCompleted() ),
Qt::DirectConnection );
//This connection has to be queued, as we would risk stopping the media player
//from within a VLC callback.
connect( worker, SIGNAL( failed( Media* ) ),
this, SLOT( computingFailed( Media* ) ),
Qt::DirectConnection );
Qt::QueuedConnection );
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