diff options
-rw-r--r-- | sys/msdk/gstmsdkallocator_libva.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/msdk/gstmsdkallocator_libva.c b/sys/msdk/gstmsdkallocator_libva.c index 848de6804..02fcf51e8 100644 --- a/sys/msdk/gstmsdkallocator_libva.c +++ b/sys/msdk/gstmsdkallocator_libva.c @@ -462,6 +462,11 @@ gst_msdk_export_dmabuf_to_vasurface (GstMsdkContext * context, va_fourcc = VA_FOURCC_RGB565; break; #endif + case GST_VIDEO_FORMAT_VUYA: + va_chroma = VA_RT_FORMAT_YUV444; + va_fourcc = VA_FOURCC_AYUV; + break; + default: goto error_unsupported_format; } |