mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 02:00:33 +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
|
static void
|
||||||
gst_gl_window_cocoa_close (GstGLWindow *window)
|
gst_gl_window_cocoa_close (GstGLWindow *window)
|
||||||
{
|
{
|
||||||
GstGLWindowCocoa *window_cocoa;
|
GstGLWindowCocoa *window_cocoa = GST_GL_WINDOW_COCOA (window);
|
||||||
|
|
||||||
window_cocoa = GST_GL_WINDOW_COCOA (window);
|
|
||||||
|
|
||||||
g_main_loop_unref (window_cocoa->priv->loop);
|
|
||||||
g_main_context_unref (window_cocoa->priv->main_context);
|
|
||||||
|
|
||||||
[window_cocoa->priv->internal_win_id release];
|
[window_cocoa->priv->internal_win_id release];
|
||||||
window_cocoa->priv->internal_win_id = nil;
|
window_cocoa->priv->internal_win_id = nil;
|
||||||
|
|
Loading…
Reference in a new issue