Commit 473933aa authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

VideoClipWorkflow: Fixing real time effect adding.

parent 2d8bcbde
......@@ -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 );
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment