[FFmpeg-devel] [PATCH 2/3] lavfi/af_amerge: check for buffer queue overflows.

Nicolas George 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.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130131/2a68f393/attachment.asc>

More information about the ffmpeg-devel mailing list