mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +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:
|
case GST_VIDEO_FORMAT_GRAY16_BE:
|
||||||
fourcc = V4L2_PIX_FMT_Y16_BE;
|
fourcc = V4L2_PIX_FMT_Y16_BE;
|
||||||
break;
|
break;
|
||||||
|
case GST_VIDEO_FORMAT_BGR15:
|
||||||
|
fourcc = V4L2_PIX_FMT_RGB555X;
|
||||||
|
fourcc_nc = V4L2_PIX_FMT_XRGB555X;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue