[FFmpeg-devel] [PATCH] lavfi: add quirc filter

Stefano Sabatini stefasab at gmail.com
Wed Dec 27 03:20:25 EET 2023


On date Tuesday 2023-12-26 20:08:10 +0100, Andreas Rheinhardt wrote:
> Stefano Sabatini:
[...]
> > +static int query_formats(AVFilterContext *ctx)
> > +{
> > +    static const enum AVPixelFormat pix_fmts[] = {AV_PIX_FMT_GRAY8, AV_PIX_FMT_NONE};
> > +    return ff_set_common_formats_from_list(ctx, pix_fmts);
> > +}
> 
> FILTER_QUERY_FUNC is inappropriate for this.

What should I use instead?


More information about the ffmpeg-devel mailing list