[vlmc-devel] commit: VideoClipWorkflow: Use the new EffectsEngine::initEffects method. ( 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:03:56 2010 +0200| [c7a6c5cd9b6b573f35ac2babf50ea58bb44bd1e5] | committer: Hugo Beauzée-Luyssen 

VideoClipWorkflow: Use the new EffectsEngine::initEffects method.

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

 src/Workflow/VideoClipWorkflow.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Workflow/VideoClipWorkflow.cpp b/src/Workflow/VideoClipWorkflow.cpp
index 98b5c44..9ca3075 100644
--- a/src/Workflow/VideoClipWorkflow.cpp
+++ b/src/Workflow/VideoClipWorkflow.cpp
@@ -100,8 +100,8 @@ VideoClipWorkflow::initVlcOutput()
     sprintf( buffer, ":sout-transcode-fps=%f", (float)Clip::DefaultFPS );
     m_vlcMedia->addOption( buffer );
 
-    foreach ( EffectsEngine::EffectHelper *helper, m_effects )
-        helper->effect->init( m_width, m_height );
+    QReadLocker     lock( m_effectsLock );
+    EffectsEngine::initEffects( m_effects, m_width, m_height );
 }
 
 void*



More information about the Vlmc-devel mailing list