[FFmpeg-devel] [PATCH 3/3] lavfi: support multiple rounds of format negotiation.

Nicolas George nicolas.george at normalesup.org
Wed Feb 27 19:34:37 CET 2013

Le tridi 3 ventôse, an CCXXI, Nicolas George a écrit :
> Remove the temporary hack for amerge and replace it with a
> generic solution.
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
>  doc/filter_design.txt       |    5 +++
>  libavfilter/avfiltergraph.c |  103 ++++++++++++++++++++++++++++++++-----------
>  2 files changed, 83 insertions(+), 25 deletions(-)
> The logic is this: the query_formats() function will fail with
> AVERROR(EINVAL) if some filters could not be configured yet but progress was
> made, and the calling site will loop on that condition. It is as simple as
> that, all the noise in the diff is mostly connected to making sure that
> filters are not configured twice (most of them would cause crashes).
> I believe that with this feature, overlay can peek at its inputs supported
> formats (and possibly output too) and decide automatically between the
> yuv420/yuv444/rgb mode.



  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/20130227/b630ede1/attachment.asc>

More information about the ffmpeg-devel mailing list