mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
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"
bc7a7259f3
This commit is contained in:
parent
a51680b1b3
commit
d3b3887c52
1 changed files with 1 additions and 6 deletions
|
@ -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…
Reference in a new issue