summaryrefslogtreecommitdiff
path: root/gst-libs/gst/gl
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2015-09-17 16:05:21 +1000
committerMatthew Waters <matthew@centricular.com>2015-09-17 20:21:43 +1000
commit1625f746320ffdf1ea584706b4c5999ec3a38495 (patch)
treeb2976b372810c30d58e5ce66a4686008a7ad3709 /gst-libs/gst/gl
parente98addcc31c1bebde574f06e7b9d5bd67e8591e1 (diff)
downloadgstreamer-plugins-bad-1625f746320ffdf1ea584706b4c5999ec3a38495.tar.gz
gl/x11: store the correct dimension from the resize events
small typo s/width/height/
Diffstat (limited to 'gst-libs/gst/gl')
-rw-r--r--gst-libs/gst/gl/x11/gstglwindow_x11.c4
1 files 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 e9d539137..20b327de5 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: