v4l2: map GST_VIDEO_FORMAT_BGR15

The GstVideoFormat to v4l2 conversion was missing for BGR15.
This commit is contained in:
Guillaume Desmottes 2020-02-05 12:48:45 +05:30
parent 0f907205de
commit 48a7381602

View file

@ -1827,6 +1827,10 @@ gst_v4l2_object_get_caps_info (GstV4l2Object * v4l2object, GstCaps * caps,
case GST_VIDEO_FORMAT_GRAY16_BE:
fourcc = V4L2_PIX_FMT_Y16_BE;
break;
case GST_VIDEO_FORMAT_BGR15:
fourcc = V4L2_PIX_FMT_RGB555X;
fourcc_nc = V4L2_PIX_FMT_XRGB555X;
break;
default:
break;
}