[FFmpeg-cvslog] avfilter/vf_overlay: add YUVA422P to alpha_pix_fmts

Paul B Mahol git at videolan.org
Sat Sep 17 17:09:24 EEST 2016


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Sep 17 15:35:09 2016 +0200| [97f50d1c624d7dc8ed76554a119f8f3107126bfc] | committer: Paul B Mahol

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 <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=97f50d1c624d7dc8ed76554a119f8f3107126bfc
---

 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 a024ef7..c592dca 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
 };



More information about the ffmpeg-cvslog mailing list