mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
v4l2: attempt to fix infinite (for small version of infinite) loop
This commit is contained in:
parent
273f389d57
commit
4d0e1a4536
1 changed files with 1 additions and 0 deletions
|
@ -294,6 +294,7 @@ gst_v4l2_fill_lists (GstV4l2Object * v4l2object)
|
|||
if (n < V4L2_CID_PRIVATE_BASE) {
|
||||
GST_DEBUG_OBJECT (e, "skipping control %08x", n);
|
||||
/* continue so that we also check private controls */
|
||||
n = V4L2_CID_PRIVATE_BASE - 1;
|
||||
continue;
|
||||
} else {
|
||||
GST_DEBUG_OBJECT (e, "controls finished");
|
||||
|
|
Loading…
Reference in a new issue