diff --git a/subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.c b/subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.c index 27ddccabd3..4a0821f01d 100644 --- a/subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.c +++ b/subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.c @@ -3178,6 +3178,8 @@ default_frame_sizes: min_w = min_h = 1; if (max_w == 0 || max_h == 0) max_w = max_h = GST_V4L2_MAX_SIZE; + v4l2object->max_width = max_w; + v4l2object->max_height = max_h; /* Since we can't get framerate directly, try to use the current norm */ if (v4l2object->tv_norm && v4l2object->norms) {