[vlmc-devel] commit: VideoClipWorkflow: Fixing real time effect adding. ( Hugo Beauzée-Luyssen )
git at videolan.org
git at videolan.org
Sun Aug 29 21:38:11 CEST 2010
vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Sun Aug 29 20:04:33 2010 +0200| [473933aaf9ce6301cb34bd7868e8d89faf2ff306] | committer: Hugo Beauzée-Luyssen
VideoClipWorkflow: Fixing real time effect adding.
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=473933aaf9ce6301cb34bd7868e8d89faf2ff306
---
src/Workflow/VideoClipWorkflow.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/Workflow/VideoClipWorkflow.cpp b/src/Workflow/VideoClipWorkflow.cpp
index d8ad729..ae56f1d 100644
--- a/src/Workflow/VideoClipWorkflow.cpp
+++ b/src/Workflow/VideoClipWorkflow.cpp
@@ -222,6 +222,8 @@ VideoClipWorkflow::appendEffect( Effect *effect, qint64 start, qint64 end )
return NULL;
}
EffectInstance *effectInstance = effect->createInstance();
+ if ( shouldRender() == true )
+ effectInstance->init( m_width, m_height );
QWriteLocker lock( m_effectsLock );
EffectsEngine::EffectHelper *ret = new EffectsEngine::EffectHelper( effectInstance, start, end );
m_filters.push_back( ret );
More information about the Vlmc-devel
mailing list