mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
gl/x11: silence runtime warning
g_main_loop_quit: assertion 'loop != NULL' failed
This commit is contained in:
parent
acb38a2a79
commit
46db28ac2c
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