Commit 0a2f501d authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen
Browse files

Solved raised assert.

parent ea05cddb
......@@ -160,6 +160,7 @@ void MetaDataManager::checkMediasToCompute()
// doesn't change anything so the lock continue to use the old instance even if this method
// is set with a new instance. It seems that the mediaPlayer instance keept the first value
// and don't care of the new value.
mediaPlayer->stop();
delete mediaPlayer;
mediaPlayer = new LibVLCpp::MediaPlayer();
/******************************************************************************************/
......
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