gldisplay: Fix list iteration

We were never moving past the first entry it seems...

CID #1461275

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/654>
This commit is contained in:
Edward Hervey 2020-05-06 09:26:35 +02:00 committed by GStreamer Merge Bot
parent 01265c10cd
commit 0fe052db61

View file

@ -911,9 +911,11 @@ gst_gl_display_remove_context (GstGLDisplay * display, GstGLContext * needle)
GST_INFO_OBJECT (display, "removed context %" GST_PTR_FORMAT
" from internal list", context);
return;
} else
continue;
}
continue;
}
prev = l;
l = l->next;
}
GST_WARNING_OBJECT (display, "%" GST_PTR_FORMAT " was not found in this "