[FFmpeg-devel] [PATCH 8/8] ffmpeg: directly request frames from filters.

Michael Niedermayer michaelni at gmx.at
Mon Apr 23 13:05:38 CEST 2012


On Fri, Apr 20, 2012 at 12:31:47PM +0200, Nicolas George wrote:
> It allows ffmpeg filtering logic to work with filters
> that do not implement the poll_frame method,
> such as split or tile.
> 
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
>  ffmpeg.c |   45 +++++++++++++++++++++++++++++++++++++--------
>  1 files changed, 37 insertions(+), 8 deletions(-)
> 
> 
> The logic is indicated in the comments: first reap all frames that have
> accumulated inside the buffer sinks, using AV_BUFFERSINK_FLAG_NO_REQUEST.
> Then trigger movement in all the graphs, using
> avfilter_graph_request_oldest, and try again.

should be ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- 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/20120423/0c9870ee/attachment.asc>


More information about the ffmpeg-devel mailing list