mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
msdk: map GST_VIDEO_FORMAT_VUYA to VA_FOURCC_AYUV
This commit is contained in:
parent
f7863cc741
commit
cd8696d2b2
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue