Skip to content

gstv4l2tuner: return NULL if no norm set

If the video4linux device supports norms but has no norm set, norm is returned as an uninitialized variable after the ioctl call, leading to gst_v4l2_tuner_get_norm_by_std_id() returning a random norm from the supported norms. Catch this case and instead return NULL to indicate that no norm is setup.

Merge request reports