glwindow_x11: allow expose events to redraw our window
authorMatthew Waters <ystreet00@gmail.com>
Fri, 30 May 2014 01:51:01 +0000 (11:51 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:42 +0000 (19:31 +0000)
otherwise we will not update the window contents on low framerate
streams until the next buffer

https://bugzilla.gnome.org/show_bug.cgi?id=723529

gst-libs/gst/gl/x11/gstglwindow_x11.c

index 490b27da5609ce9a35611e38cf7e2374df3eb3ac..d09701279e83174548bc28d512cb9b2fb866d5ab 100644 (file)
@@ -544,12 +544,6 @@ gst_gl_window_x11_handle_event (GstGLWindowX11 * window_x11)
           break;
         }
 
-        /* just ignore request that does not come from us
-         * they are un-necessary and it overloads the drawer
-         */
-        if (!event.xexpose.send_event)
-          break;
-
         /* We need to redraw on expose */
         if (window->draw) {
           context = gst_gl_window_get_context (window);