v4l2object: fix some errors in probe_caps_for_fromat
authorShengqi Yu <shengqi.yu@mediatek.com>
Sat, 6 May 2023 03:17:43 +0000 (11:17 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 18 May 2023 19:41:39 +0000 (19:41 +0000)
commitc513855fb704c72a7028cc60b72399abb7324d60
tree9343e2781a084255e14a58dd17b1afb5e7b579ef
parenta7f6b878e0974645a7cf5b45f334e8909668585e
v4l2object: fix some errors in probe_caps_for_fromat

1, there is a mistake when print stepwise.max_height, fix it
2, modify the calculation of width and height under the step wise
condition

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4672>
subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.c