mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
wayland: use scale fullscreen method.
This makes the compositor scale the surface to fit and preserves aspect ratio. https://bugzilla.gnome.org/show_bug.cgi?id=681453
This commit is contained in:
parent
dc81682f4b
commit
547d679e9e
1 changed files with 1 additions and 1 deletions
|
@ -433,7 +433,7 @@ create_window (GstWaylandSink * sink, struct display *display, int width,
|
|||
|
||||
wl_shell_surface_set_toplevel (window->shell_surface);
|
||||
wl_shell_surface_set_fullscreen (window->shell_surface,
|
||||
WL_SHELL_SURFACE_FULLSCREEN_METHOD_DEFAULT, 0, NULL);
|
||||
WL_SHELL_SURFACE_FULLSCREEN_METHOD_SCALE, 0, NULL);
|
||||
|
||||
sink->window = window;
|
||||
|
||||
|
|
Loading…
Reference in a new issue