Skip to content
Commit 66774b90 authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

encoding: Track the number of frames in flight

If the encoder cannot keep up, we can run into cases where either the
filter or encode queues are filling up with frames, causing memory usage
to increase unconstrained. Unfortunately, FFMpeg does not have any way
to set limits on its internal queues. So instead, we manually track
frames enqueued and dequeued so that we can drop frames should the
queues fill up too fast.

BUG: 469005
BUG: 475894
parent d761d56d
Pipeline #560256 passed with stage
in 2 minutes and 12 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment