Skip to content

uvcsink: make gst_v4l2uvc_fourcc_to_bare_struct work with more raw formats

The uvcsink was limited to only transfer YUY2 and MJPEG. For the uncompressed formats there is no technical reason not to support them.

Since gst_video_format_to_string is already supporting more fourcc than only YUY2 we use the default path in gst_v4l2uvc_fourcc_to_bare_struct to create structures for more formats and bail out if the returned format is not from the uncompressed type.

Merge request reports

Loading