gl: Fix context leaks
Introduced by a12ca13750a15300ab3c718ebde2984dc3d587b3
This commit is contained in:
parent
befc24469c
commit
961e847433
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user