Fix miscounted pacer dropped frames in non-pacing mode

This commit is contained in:
Cameron Gutman 2019-01-22 21:21:29 -08:00
commit 4471a858db

View file

@ -84,6 +84,7 @@ int Pacer::renderThread(void* context)
// this time (and so dequeue() below will always get something).
me->m_FrameQueueLock.unlock();
av_frame_free(&lastFrame);
me->m_VideoStats->pacerDroppedFrames++;
me->m_FrameQueueLock.lock();
}