[FFmpeg-devel] [PATCH 03/13] avfilter: add missing FF_API_AVFILTERBUFFER guards

Nicolas George george at nsup.org
Sun Aug 16 10:48:57 CEST 2015

Le nonidi 29 thermidor, an CCXXIII, Michael Niedermayer a écrit :
> Why is av_buffersink_poll_frame deprecated and removed ?

Its original semantic of recursing through the graph to count the available
frames was unsustainable, some filters did return only a very rough
estimate and some needed very complex code to get an accurate estimate.

With the current requirement that no frame accumulate within the filter
graph, it can be replaced by just querying the sink, possibly with the PEEK
and/or NO_REQUEST flags.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150816/fa4d13a2/attachment.sig>

More information about the ffmpeg-devel mailing list