From 97f50d1c624d7dc8ed76554a119f8f3107126bfc Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 17 Sep 2016 15:35:09 +0200 Subject: [PATCH] avfilter/vf_overlay: add YUVA422P to alpha_pix_fmts Now yuv422 output format gives similar expected output as other output formats. Signed-off-by: Paul B Mahol --- libavfilter/vf_overlay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c index a024ef74bd..c592dca9ed 100644 --- a/libavfilter/vf_overlay.c +++ b/libavfilter/vf_overlay.c @@ -301,7 +301,7 @@ fail: } static const enum AVPixelFormat alpha_pix_fmts[] = { - AV_PIX_FMT_YUVA420P, AV_PIX_FMT_YUVA444P, + AV_PIX_FMT_YUVA420P, AV_PIX_FMT_YUVA422P, AV_PIX_FMT_YUVA444P, AV_PIX_FMT_ARGB, AV_PIX_FMT_ABGR, AV_PIX_FMT_RGBA, AV_PIX_FMT_BGRA, AV_PIX_FMT_NONE };