Commit 961e8474 authored by Edward Hervey's avatar Edward Hervey 🤘 Committed by Tim-Philipp Müller

gl: Fix context leaks

Introduced by a12ca13750a15300ab3c718ebde2984dc3d587b3
parent befc2446
......@@ -305,6 +305,8 @@ _set_window_handle_cb (GstSetWindowHandleCb * data)
gst_gl_context_activate (context, FALSE);
window_class->set_window_handle (data->window, data->handle);
gst_gl_context_activate (context, TRUE);
gst_object_unref (context);
static void
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment