mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-04 22:48:54 +00:00
msdk: map GST_VIDEO_FORMAT_UYVY to VA_FOURCC_UYVY
This commit is contained in:
parent
ea6789fec8
commit
ac9423facb
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue