From a18cdf47818c18e8d5b22df2d148811c23bf36f8 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Thu, 17 Sep 2015 16:05:21 +1000 Subject: [PATCH] gl/x11: store the correct dimension from the resize events small typo s/width/height/ --- gst-libs/gst/gl/x11/gstglwindow_x11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/gl/x11/gstglwindow_x11.c b/gst-libs/gst/gl/x11/gstglwindow_x11.c index e9d5391379..20b327de50 100644 --- a/gst-libs/gst/gl/x11/gstglwindow_x11.c +++ b/gst-libs/gst/gl/x11/gstglwindow_x11.c @@ -571,7 +571,7 @@ gst_gl_window_x11_handle_event (GstGLWindowX11 * window_x11) event.xconfigure.height); window_x11->current_width = event.xconfigure.width; - window_x11->current_height = event.xconfigure.width; + window_x11->current_height = event.xconfigure.height; break; } @@ -599,7 +599,7 @@ gst_gl_window_x11_handle_event (GstGLWindowX11 * window_x11) } window_x11->current_width = event.xexpose.width; - window_x11->current_height = event.xexpose.width; + window_x11->current_height = event.xexpose.height; break; case VisibilityNotify: