summaryrefslogtreecommitdiff
path: root/ext/wayland/wlwindow.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/wayland/wlwindow.c')
-rw-r--r--ext/wayland/wlwindow.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/wayland/wlwindow.c b/ext/wayland/wlwindow.c
index f58df0965..ea6c681a2 100644
--- a/ext/wayland/wlwindow.c
+++ b/ext/wayland/wlwindow.c
@@ -187,7 +187,8 @@ gst_wl_window_is_toplevel (GstWlWindow * window)
static void
gst_wl_window_resize_internal (GstWlWindow * window, gboolean commit)
{
- GstVideoRectangle src, res;
+ GstVideoRectangle src = { 0, };
+ GstVideoRectangle res;
src.w = window->video_width;
src.h = window->video_height;