[vlc-commits] vaapi: add YUVJ420P pixfmt

Mathieu Velten git at videolan.org
Fri Oct 18 08:54:04 CEST 2019


vlc/vlc-3.0 | branch: master | Mathieu Velten <matmaul at gmail.com> | Thu Oct 17 00:36:01 2019 +0200| [60d44f333c1c5915835097301d5fb55c866cd912] | committer: Steve Lhomme

vaapi: add YUVJ420P pixfmt

Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>
(cherry picked from commit a0e25f1a97fae707e6701c53e2d389c4bafffddf)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=60d44f333c1c5915835097301d5fb55c866cd912
---

 modules/codec/avcodec/va.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/codec/avcodec/va.c b/modules/codec/avcodec/va.c
index 7d4660012e..05831232d2 100644
--- a/modules/codec/avcodec/va.c
+++ b/modules/codec/avcodec/va.c
@@ -40,6 +40,7 @@ vlc_fourcc_t vlc_va_GetChroma(enum PixelFormat hwfmt, enum PixelFormat swfmt)
         case AV_PIX_FMT_VAAPI_VLD:
             switch (swfmt)
             {
+                case AV_PIX_FMT_YUVJ420P:
                 case AV_PIX_FMT_YUV420P:
                     return VLC_CODEC_VAAPI_420;
                 case AV_PIX_FMT_YUV420P10LE:



More information about the vlc-commits mailing list