Commit cf68b7c5 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen
Browse files

Avoid flushing audio buffers when rendering.

parent b87e3af5
......@@ -153,7 +153,8 @@ TrackWorkflow::renderClip( ClipWorkflow* cw, qint64 currentFrame,
cw->getStateLock()->unlock();
cw->initialize();
cw->waitForCompleteInit();
if ( start != currentFrame || cw->getClip()->begin() != 0 ) //Clip was not started as its real begining
//We check for a difference greater than one to avoid false positive when starting.
if ( (start - currentFrame > 1) || cw->getClip()->begin() != 0 ) //Clip was not started as its real begining
{
adjustClipTime( currentFrame, start, cw );
}
......
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