Fix AV-sync sometimes putting scene one frame back

This commit is contained in:
Sergey Sharybin
2019-06-17 17:52:02 +02:00
parent f827811a42
commit 538f2aeaef

View File

@@ -4243,7 +4243,7 @@ static int screen_animation_step(bContext *C, wmOperator *UNUSED(op), const wmEv
scene->r.cfra++;
}
else {
scene->r.cfra = newfra + 0.5;
scene->r.cfra = max_ii(scene->r.cfra, newfra + 0.5);
}
#ifdef PROFILE_AUDIO_SYNCH