mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
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:
parent
01265c10cd
commit
0fe052db61
1 changed files with 4 additions and 2 deletions
|
@ -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 "
|
||||
|
|
Loading…
Reference in a new issue