mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
v4l2: map GST_VIDEO_FORMAT_BGR15
The GstVideoFormat to v4l2 conversion was missing for BGR15.
This commit is contained in:
parent
0f907205de
commit
48a7381602
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue