[FFmpeg-devel] [PATCH] avfilter/signalstats: add more pixel formats

Dave Rice dave at dericed.com
Fri Sep 26 16:58:10 CEST 2014


On Sep 25, 2014, at 1:26 PM, Paul B Mahol <onemda at gmail.com> wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
> libavfilter/vf_signalstats.c | 3 +++
> 1 file changed, 3 insertions(+)
> 
> diff --git a/libavfilter/vf_signalstats.c b/libavfilter/vf_signalstats.c
> index 53f7401..47545aa 100644
> --- a/libavfilter/vf_signalstats.c
> +++ b/libavfilter/vf_signalstats.c
> @@ -96,6 +96,9 @@ static int query_formats(AVFilterContext *ctx)
>     // TODO: add more
>     static const enum AVPixelFormat pix_fmts[] = {
>         AV_PIX_FMT_YUV444P, AV_PIX_FMT_YUV422P, AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUV411P,
> +        AV_PIX_FMT_YUV440P,
> +        AV_PIX_FMT_YUVJ422P, AV_PIX_FMT_YUVJ444P, AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_YUVJ411P,
> +        AV_PIX_FMT_YUVJ440P,
>         AV_PIX_FMT_NONE
>     };
> 
> -- 
> 1.7.11.2

Tested and works for me.
Thanks,
Dave Rice


More information about the ffmpeg-devel mailing list