Skip to content

gst: utils: fix stream format to caps

Jakub Adam requested to merge xhaakon/libcamera:fix-utils into gstreamer-v2

gst_structure_set() expects only two arguments for GST_TYPE_INT_RANGE (without step).

Initialize the values with gst_value_set_int_range_step() instead. Fixes crash with VIMC camera.

Merge request reports