mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 02:30:35 +00:00
glcontext/egl: add missing unref
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1328>
This commit is contained in:
parent
71dd47516c
commit
9abac91c96
1 changed files with 3 additions and 0 deletions
|
@ -1191,6 +1191,9 @@ gst_gl_context_egl_destroy_context (GstGLContext * context)
|
|||
g_signal_handler_disconnect (window, egl->window_handle_signal);
|
||||
egl->window_handle_signal = 0;
|
||||
}
|
||||
if (window) {
|
||||
gst_object_unref (window);
|
||||
}
|
||||
|
||||
gst_gl_context_egl_activate (context, FALSE);
|
||||
|
||||
|
|
Loading…
Reference in a new issue