[vlmc-devel] MetaDataManager: Remove useless stop call.

Hugo Beauzée-Luyssen git at videolan.org
Sun Feb 16 01:34:58 CET 2014


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Sun Feb 16 01:12:16 2014 +0200| [f60005f7dfc0e05a86fd6cd5e83795c7a9f61171] | committer: Hugo Beauzée-Luyssen

MetaDataManager: Remove useless stop call.

Media player was already stopped from the worker, and is anyway stopped
by the VLCMediaPlayer destructor

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=f60005f7dfc0e05a86fd6cd5e83795c7a9f61171
---

 src/Metadata/MetaDataManager.cpp |    1 -
 1 file changed, 1 deletion(-)

diff --git a/src/Metadata/MetaDataManager.cpp b/src/Metadata/MetaDataManager.cpp
index 1b3965e..e4a1a42 100644
--- a/src/Metadata/MetaDataManager.cpp
+++ b/src/Metadata/MetaDataManager.cpp
@@ -64,7 +64,6 @@ MetaDataManager::computingCompleted()
     QMutexLocker lock( m_computingMutex );
 
     Q_ASSERT_X(m_mediaPlayer, __FUNCTION__, "No media player instance. Event handling is probably broken");
-    m_mediaPlayer->stop();
     delete m_mediaPlayer;
     m_mediaPlayer = NULL;
     m_computeInProgress = false;



More information about the Vlmc-devel mailing list