mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +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
2d593b4c26
commit
90f0cfceb7
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