[FFmpeg-devel] [PATCH 2/2] ffmpeg: use AV_BUFFERSRC_FLAG_PUSH.

Nicolas George nicolas.george at normalesup.org
Tue Aug 21 09:22:33 CEST 2012

Le quintidi 5 fructidor, an CCXX, Michael Niedermayer a écrit :
> Maybe i misunderstand the code but cant this break filters like
> overlay ?
> i mean if there would be 2 video streams in a file and a overlay
> filter combining them. Then demuxing from this file would push frames
> up to the overlay filter and if the 2 streams are not interleaved
> correctly then the overlay filter would get input with mismatching
> timestamps. Before this patch there would be buffering in the source

Your remark is completely relevant, but you forgot that the same kind of
thing can happen in other circumstances, especially with the split filter.
All filters with multiple inputs must be ready to deal with that situation,
and overlay, amongst others, is.


  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/20120821/e6c72a73/attachment.asc>

More information about the ffmpeg-devel mailing list