mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
msdk: map GST_VIDEO_FORMAT_BGR10A2_LE to VA_FOURCC_A2R10G10B10
This commit is contained in:
parent
53fd4a1564
commit
95fdc2e984
1 changed files with 4 additions and 1 deletions
|
@ -475,7 +475,10 @@ gst_msdk_export_dmabuf_to_vasurface (GstMsdkContext * context,
|
|||
va_chroma = VA_RT_FORMAT_YUV444;
|
||||
va_fourcc = VA_FOURCC_AYUV;
|
||||
break;
|
||||
|
||||
case GST_VIDEO_FORMAT_BGR10A2_LE:
|
||||
va_chroma = VA_RT_FORMAT_RGB32_10;
|
||||
va_fourcc = VA_FOURCC_A2R10G10B10;
|
||||
break;
|
||||
default:
|
||||
goto error_unsupported_format;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue