diff options
author | Mark Thompson <sw@jkqxz.net> | 2024-02-25 11:13:24 +0000 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2024-03-19 22:56:56 +0000 |
commit | 7f4b8d2f5e1a780eaefff528b1dd5070c42f496f (patch) | |
tree | 42fe99eaa495873e5d85b813e4128c16d2fb27f3 /libavfilter/af_dynaudnorm.c | |
parent | 7251f909721a570726775acf61b2b9c28a950c76 (diff) | |
download | ffmpeg-7f4b8d2f5e1a780eaefff528b1dd5070c42f496f.tar.gz |
ffmpeg: set extra_hw_frames to account for frames held in queues
Since e0da916b8f5b079a4865eef7f64863f50785463d the ffmpeg utility has
held multiple frames output by the decoder in internal queues without
telling the decoder that it is going to do so. When the decoder has a
fixed-size pool of frames (common in some hardware APIs where the output
frames must be stored as an array texture) this could lead to the pool
being exhausted and the decoder getting stuck. Fix this by telling the
decoder to allocate additional frames according to the queue size.
Diffstat (limited to 'libavfilter/af_dynaudnorm.c')
0 files changed, 0 insertions, 0 deletions