mirror of
https://github.com/overte-org/overte.git
synced 2025-04-07 22:33:04 +02:00
commit
5731242e7f
1 changed files with 6 additions and 0 deletions
|
@ -166,6 +166,12 @@ void Deck::processFrames() {
|
|||
if (!overLimit) {
|
||||
auto nextFrameTime = nextClip->positionFrameTime();
|
||||
nextInterval = (int)Frame::frameTimeToMilliseconds(nextFrameTime - _position);
|
||||
if (nextInterval < 0) {
|
||||
qCWarning(recordingLog) << "Unexpected nextInterval < 0 nextFrameTime:" << nextFrameTime
|
||||
<< "_position:" << _position << "-- setting nextInterval to 0";
|
||||
nextInterval = 0;
|
||||
}
|
||||
|
||||
#ifdef WANT_RECORDING_DEBUG
|
||||
qCDebug(recordingLog) << "Now " << _position;
|
||||
qCDebug(recordingLog) << "Next frame time " << nextInterval;
|
||||
|
|
Loading…
Reference in a new issue