avfilter/vf_overlay: add YUVA422P to alpha_pix_fmts
authorPaul B Mahol <onemda@gmail.com>
Sat, 17 Sep 2016 13:35:09 +0000 (15:35 +0200)
committerPaul B Mahol <onemda@gmail.com>
Sat, 17 Sep 2016 13:38:30 +0000 (15:38 +0200)
Now yuv422 output format gives similar expected output as other output formats.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/vf_overlay.c

index a024ef7..c592dca 100644 (file)
@@ -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
 };