Skip to content

v4l2: object: Make sure dmabuf_tmpl isn't used uninitialized

In gst_v4l2_object_probe_caps() the pointer is initialized only in case that enable_dmabuf is set but always checked later. Move the initialization out of gst_v4l2_object_v4l2fourcc_to_bare_struct().

Merge request reports

Loading