gl: Fix context leaks

Introduced by a12ca13750
This commit is contained in:
Edward Hervey 2015-03-03 16:55:26 +01:00
parent e3418a963a
commit 4220fe41be

View file

@ -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