mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
msdk: map GST_VIDEO_FORMAT_RGB16 to VA_FOURCC_RGB565
This commit is contained in:
parent
197f7f569b
commit
a09cff84ce
1 changed files with 4 additions and 0 deletions
|
@ -448,6 +448,10 @@ gst_msdk_export_dmabuf_to_vasurface (GstMsdkContext * context,
|
|||
va_chroma = VA_RT_FORMAT_YUV422;
|
||||
va_fourcc = VA_FOURCC_UYVY;
|
||||
break;
|
||||
case GST_VIDEO_FORMAT_RGB16:
|
||||
va_chroma = VA_RT_FORMAT_RGB16;
|
||||
va_fourcc = VA_FOURCC_RGB565;
|
||||
break;
|
||||
default:
|
||||
goto error_unsupported_format;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue