[FFmpeg-devel] [PATCH 2/3] lavfi/af_amerge: check for buffer queue overflows.
nicolas.george at normalesup.org
Thu Jan 31 21:16:08 CET 2013
Le duodi 12 pluviôse, an CCXXI, Stefano Sabatini a écrit :
> Could you make the size parametric? Or we could set the overflow
> policy in the bufqueue (increase size, discard oldest, ignore new).
The size is already parametric at build-time. But raising the size or making
it grow automatically is not necessarily a good idea. The risk is the one
that is crippling the fork's implementation and that I try very hard to
avoid: a queue that can grow and eat all the memory.
I have no satisfactory solution.
Thanks for the review, all 4 patches pushed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel