diff options
author | Matthew Waters <ystreet00@gmail.com> | 2014-07-31 18:36:58 +1000 |
---|---|---|
committer | Matthew Waters <ystreet00@gmail.com> | 2014-07-31 18:36:58 +1000 |
commit | 46db28ac2cbddbcc505be8f0376c85c39f3bfbc9 (patch) | |
tree | 9f5384fbd7a0ac62447c961f7af1ca6ae478a132 | |
parent | acb38a2a79588e223b7227638c7bd36590d0bfb1 (diff) |
gl/x11: silence runtime warning
g_main_loop_quit: assertion 'loop != NULL' failed
-rw-r--r-- | gst-libs/gst/gl/x11/gstglwindow_x11.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst-libs/gst/gl/x11/gstglwindow_x11.c b/gst-libs/gst/gl/x11/gstglwindow_x11.c index 7e3e0d78b..c576f259f 100644 --- a/gst-libs/gst/gl/x11/gstglwindow_x11.c +++ b/gst-libs/gst/gl/x11/gstglwindow_x11.c @@ -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"); } |