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
@ -911,9 +911,11 @@ gst_gl_display_remove_context (GstGLDisplay * display, GstGLContext * needle)
|
|||||||
GST_INFO_OBJECT (display, "removed context %" GST_PTR_FORMAT
|
GST_INFO_OBJECT (display, "removed context %" GST_PTR_FORMAT
|
||||||
" from internal list", context);
|
" from internal list", context);
|
||||||
return;
|
return;
|
||||||
} else
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
prev = l;
|
||||||
|
l = l->next;
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_WARNING_OBJECT (display, "%" GST_PTR_FORMAT " was not found in this "
|
GST_WARNING_OBJECT (display, "%" GST_PTR_FORMAT " was not found in this "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user