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?
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to