gl/cocoa: do not terminate loop in gst_gl_window_cocoa_close
It is now done in _finalize. Fix regression introduced by "gl/window: create the main loop/context on init/finalize" bc7a7259f357b0065dd94e0668b5a895d83fa53a
This commit is contained in:
parent
a51680b1b3
commit
d3b3887c52
@ -201,12 +201,7 @@ gst_gl_window_cocoa_open (GstGLWindow *window, GError **err)
|
||||
static void
|
||||
gst_gl_window_cocoa_close (GstGLWindow *window)
|
||||
{
|
||||
GstGLWindowCocoa *window_cocoa;
|
||||
|
||||
window_cocoa = GST_GL_WINDOW_COCOA (window);
|
||||
|
||||
g_main_loop_unref (window_cocoa->priv->loop);
|
||||
g_main_context_unref (window_cocoa->priv->main_context);
|
||||
GstGLWindowCocoa *window_cocoa = GST_GL_WINDOW_COCOA (window);
|
||||
|
||||
[window_cocoa->priv->internal_win_id release];
|
||||
window_cocoa->priv->internal_win_id = nil;
|
||||
|
Loading…
x
Reference in New Issue
Block a user