mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
gl/x11: silence runtime warning
g_main_loop_quit: assertion 'loop != NULL' failed
This commit is contained in:
parent
9426c0793e
commit
d3077a890c
1 changed files with 2 additions and 1 deletions
|
@ -619,7 +619,8 @@ gst_gl_window_x11_quit (GstGLWindow * window)
|
|||
|
||||
GST_LOG ("sending quit");
|
||||
|
||||
g_main_loop_quit (window_x11->loop);
|
||||
if (window_x11->loop)
|
||||
g_main_loop_quit (window_x11->loop);
|
||||
|
||||
GST_LOG ("quit sent");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue