mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
glwindow: move unsetting queue_resize to _resize() instead of _draw()
Makes infinitely more sense and implementation were expecting that behaviour anyway and would enter a resize, draw, resize, draw, ... cycle instead of only resizing once.
This commit is contained in:
parent
e41e98a127
commit
85d5489f58
1 changed files with 2 additions and 2 deletions
|
@ -487,8 +487,6 @@ gst_gl_window_draw (GstGLWindow * window)
|
||||||
}
|
}
|
||||||
|
|
||||||
window_class->draw (window);
|
window_class->draw (window);
|
||||||
|
|
||||||
window->queue_resize = FALSE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1174,4 +1172,6 @@ gst_gl_window_resize (GstGLWindow * window, guint width, guint height)
|
||||||
|
|
||||||
window->priv->surface_width = width;
|
window->priv->surface_width = width;
|
||||||
window->priv->surface_height = height;
|
window->priv->surface_height = height;
|
||||||
|
|
||||||
|
window->queue_resize = FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue