Don't discard all excess frames before rendering

This prevents the render queue's pacing logic from working and
interferes with renderers that take a full v-sync period between
their waitToRender() and renderFrame() callbacks.
This commit is contained in:
Cameron Gutman
2022-04-24 17:04:32 -05:00
parent 0733f06103
commit f8f5e8e869
2 changed files with 8 additions and 34 deletions
@@ -33,8 +33,6 @@ private:
void enqueueFrameForRenderingAndUnlock(AVFrame* frame);
void renderLastFrameAndUnlock();
void renderFrame(AVFrame* frame);
void dropFrameForEnqueue(QQueue<AVFrame*>& queue);