summaryrefslogtreecommitdiff
path: root/sys/msdk/gstmsdkallocator_libva.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/msdk/gstmsdkallocator_libva.c')
-rw-r--r--sys/msdk/gstmsdkallocator_libva.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/msdk/gstmsdkallocator_libva.c b/sys/msdk/gstmsdkallocator_libva.c
index 75d703c34..f0243c0d0 100644
--- a/sys/msdk/gstmsdkallocator_libva.c
+++ b/sys/msdk/gstmsdkallocator_libva.c
@@ -106,6 +106,8 @@ gst_msdk_frame_alloc (mfxHDL pthis, mfxFrameAllocRequest * req,
#if ((MFX_VERSION >= 1027) && VA_CHECK_VERSION(1, 2, 0))
if (format == VA_RT_FORMAT_YUV422 && va_fourcc == VA_FOURCC_Y210)
format = VA_RT_FORMAT_YUV422_10;
+ else if (format == VA_RT_FORMAT_YUV444 && va_fourcc == VA_FOURCC_Y410)
+ format = VA_RT_FORMAT_YUV444_10;
#endif
va_status = vaCreateSurfaces (gst_msdk_context_get_handle (context),