Fix miscounted pacer dropped frames in non-pacing mode
This commit is contained in:
parent
22e712af5a
commit
4471a858db
1 changed files with 1 additions and 0 deletions
|
|
@ -84,6 +84,7 @@ int Pacer::renderThread(void* context)
|
||||||
// this time (and so dequeue() below will always get something).
|
// this time (and so dequeue() below will always get something).
|
||||||
me->m_FrameQueueLock.unlock();
|
me->m_FrameQueueLock.unlock();
|
||||||
av_frame_free(&lastFrame);
|
av_frame_free(&lastFrame);
|
||||||
|
me->m_VideoStats->pacerDroppedFrames++;
|
||||||
me->m_FrameQueueLock.lock();
|
me->m_FrameQueueLock.lock();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue