[vlmc-devel] commit: WorkflowRenderer: Locking mutexes is a good habit. ( Hugo Beauzée-Luyssen )
git at videolan.org
git at videolan.org
Fri Jul 30 00:38:28 CEST 2010
vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Fri Jul 30 00:04:52 2010 +0200| [7b9f0883a56bac83976160d7053988ba61d70b24] | committer: Hugo Beauzée-Luyssen
WorkflowRenderer: Locking mutexes is a good habit.
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=7b9f0883a56bac83976160d7053988ba61d70b24
---
src/Renderer/WorkflowRenderer.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/Renderer/WorkflowRenderer.cpp b/src/Renderer/WorkflowRenderer.cpp
index 573792c..1258428 100644
--- a/src/Renderer/WorkflowRenderer.cpp
+++ b/src/Renderer/WorkflowRenderer.cpp
@@ -118,6 +118,7 @@ WorkflowRenderer::setupRenderer( quint32 width, quint32 height, double fps )
m_media->addOption( buffer );
m_media->addOption( ":text-renderer dummy" );
+ QReadLocker lock( m_effectsLock );
EffectsEngine::initEffects( m_effects, width, height );
}
More information about the Vlmc-devel
mailing list