mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 06:01:12 +00:00
Fix miscounted pacer dropped frames in non-pacing mode
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user