summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/msdk/gstmsdkallocator_libva.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/msdk/gstmsdkallocator_libva.c b/sys/msdk/gstmsdkallocator_libva.c
index e5200a3fe..44fd578b7 100644
--- a/sys/msdk/gstmsdkallocator_libva.c
+++ b/sys/msdk/gstmsdkallocator_libva.c
@@ -427,6 +427,10 @@ gst_msdk_export_dmabuf_to_vasurface (GstMsdkContext * context,
va_chroma = VA_RT_FORMAT_YUV420_10;
va_fourcc = VA_FOURCC_P010;
break;
+ case GST_VIDEO_FORMAT_UYVY:
+ va_chroma = VA_RT_FORMAT_YUV422;
+ va_fourcc = VA_FOURCC_UYVY;
+ break;
default:
goto error_unsupported_format;
}