v4l2: Add NV12_8L128 in gst_v4l2_object_get_caps_info

It should be included in
<https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1379>

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2158>
This commit is contained in:
Ming Qian 2022-04-12 14:15:01 +08:00 committed by GStreamer Marge Bot
parent 6af66167d0
commit dce02a870e

View file

@ -1809,6 +1809,9 @@ gst_v4l2_object_get_caps_info (GstV4l2Object * v4l2object, GstCaps * caps,
case GST_VIDEO_FORMAT_NV12_16L32S: case GST_VIDEO_FORMAT_NV12_16L32S:
fourcc_nc = V4L2_PIX_FMT_MM21; fourcc_nc = V4L2_PIX_FMT_MM21;
break; break;
case GST_VIDEO_FORMAT_NV12_8L128:
fourcc_nc = V4L2_PIX_FMT_NV12M_8L128;
break;
case GST_VIDEO_FORMAT_NV12_10BE_8L128: case GST_VIDEO_FORMAT_NV12_10BE_8L128:
fourcc_nc = V4L2_PIX_FMT_NV12M_10BE_8L128; fourcc_nc = V4L2_PIX_FMT_NV12M_10BE_8L128;
break; break;