[FFmpeg-devel] [PATCH] lavfi/gradfun: remove nv21/nv12 as they are not supported

Paul B Mahol onemda at gmail.com
Fri Jul 26 13:53:42 CEST 2013


On 7/24/13, Paul B Mahol <onemda at gmail.com> wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libavfilter/vf_gradfun.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/libavfilter/vf_gradfun.c b/libavfilter/vf_gradfun.c
> index 3abbd79..f9dec77 100644
> --- a/libavfilter/vf_gradfun.c
> +++ b/libavfilter/vf_gradfun.c
> @@ -149,8 +149,7 @@ static int query_formats(AVFilterContext *ctx)
>  {
>      static const enum AVPixelFormat pix_fmts[] = {
>          AV_PIX_FMT_YUV410P,            AV_PIX_FMT_YUV420P,
> -        AV_PIX_FMT_GRAY8,              AV_PIX_FMT_NV12,
> -        AV_PIX_FMT_NV21,               AV_PIX_FMT_YUV444P,
> +        AV_PIX_FMT_GRAY8,              AV_PIX_FMT_YUV444P,
>          AV_PIX_FMT_YUV422P,            AV_PIX_FMT_YUV411P,
>          AV_PIX_FMT_YUV440P,
>          AV_PIX_FMT_NONE
> --
> 1.7.11.2
>
>

If nobody going to fix issue, i'm gonna apply this.


More information about the ffmpeg-devel mailing list