vlc | branch: master | Mathieu Velten <matm...@gmail.com> | Thu Oct 17 00:36:01 
2019 +0200| [a0e25f1a97fae707e6701c53e2d389c4bafffddf] | committer: Steve Lhomme

vaapi: add YUVJ420P pixfmt

Signed-off-by: Steve Lhomme <rob...@ycbcr.xyz>

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

 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 ac4bd75db8..0dcd935483 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:

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to