msdk: map GST_VIDEO_FORMAT_Y210 to MFX_FOURCC_Y210

This commit is contained in:
Haihao Xiang 2019-05-30 09:49:22 +08:00 committed by Víctor Manuel Jáquez Leal
parent 56d6df08f9
commit 24da8ec47b

View file

@ -63,6 +63,9 @@ static const struct map gst_msdk_video_format_to_mfx_map[] = {
#endif
GST_VIDEO_INFO_TO_MFX_MAP (VUYA, YUV444, AYUV),
GST_VIDEO_INFO_TO_MFX_MAP (BGR10A2_LE, YUV444, A2RGB10),
#if (MFX_VERSION >= 1027)
GST_VIDEO_INFO_TO_MFX_MAP (Y210, YUV422, Y210),
#endif
{0, 0, 0}
};