[vlc-commits] fourcc: add VLC_CODEC_VAAPI_420_10BPP fallbacks

Thomas Guillem git at videolan.org
Tue Nov 7 12:19:25 CET 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Nov  7 09:26:22 2017 +0100| [2d60ef9fe5bd698ce66fc574f2f4e44894d216f0] | committer: Thomas Guillem

fourcc: add VLC_CODEC_VAAPI_420_10BPP fallbacks

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

 src/misc/fourcc.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index cbbc0d97df..c1924b2c15 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -384,6 +384,10 @@ static const vlc_fourcc_t p_VAAPI_420_fallback[] = {
     VLC_CODEC_VAAPI_420, VLC_CODEC_I420, 0,
 };
 
+static const vlc_fourcc_t p_VAAPI_420_10BPP_fallback[] = {
+    VLC_CODEC_VAAPI_420_10BPP, VLC_CODEC_P010, VLC_CODEC_I420, 0,
+};
+
 static const vlc_fourcc_t p_I440_fallback[] = {
     VLC_CODEC_I440,
     VLC_CODEC_YUV_PLANAR_420,
@@ -467,6 +471,7 @@ static const vlc_fourcc_t *pp_YUV_fallback[] = {
     p_CVPX_VIDEO_UYVY_fallback,
     p_CVPX_VIDEO_I420_fallback,
     p_VAAPI_420_fallback,
+    p_VAAPI_420_10BPP_fallback,
     NULL,
 };
 
@@ -490,6 +495,7 @@ static const vlc_fourcc_t p_list_YUV[] = {
     VLC_CODEC_CVPX_UYVY,
     VLC_CODEC_CVPX_I420,
     VLC_CODEC_VAAPI_420,
+    VLC_CODEC_VAAPI_420_10BPP,
     0,
 };
 



More information about the vlc-commits mailing list