[vlmc-devel] ClipWorkflow: Remove useless mutex lock
Hugo Beauzée-Luyssen
git at videolan.org
Sun Jan 26 22:08:43 CET 2014
vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Sun Jan 26 22:50:41 2014 +0200| [fee61c6ffc9b58ce8ef8992cfeb4386cb16b1d11] | committer: Hugo Beauzée-Luyssen
ClipWorkflow: Remove useless mutex lock
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=fee61c6ffc9b58ce8ef8992cfeb4386cb16b1d11
---
src/Workflow/ClipWorkflow.cpp | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/Workflow/ClipWorkflow.cpp b/src/Workflow/ClipWorkflow.cpp
index 20cd79d..f96ff1f 100644
--- a/src/Workflow/ClipWorkflow.cpp
+++ b/src/Workflow/ClipWorkflow.cpp
@@ -137,10 +137,7 @@ ClipWorkflow::stopRenderer()
//would freeze the render waiting for a frame) while the stopping process occurs.
m_state = Stopping;
m_initWaitCond->wakeAll();
- {
- QMutexLocker lock( m_renderLock );
- m_renderWaitCond->wakeAll();
- }
+ m_renderWaitCond->wakeAll();
m_mediaPlayer->stop();
m_mediaPlayer->disconnect();
MemoryPool<LibVLCpp::MediaPlayer>::getInstance()->release( m_mediaPlayer );
More information about the Vlmc-devel
mailing list