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

Paul B Mahol onemda at gmail.com
Sat Sep 27 09:33:03 CEST 2014


On 9/26/14, Dave Rice <dave at dericed.com> wrote:
> 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
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>

applied


More information about the ffmpeg-devel mailing list