Commit ac9423fa authored by Haihao Xiang's avatar Haihao Xiang Committed by Víctor Manuel Jáquez Leal

msdk: map GST_VIDEO_FORMAT_UYVY to VA_FOURCC_UYVY

parent ea6789fe
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment