mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
wayland: use scale fullscreen method.
This makes the compositor scale the surface to fit and preserves aspect ratio. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
This commit is contained in:
parent
44d6f7631b
commit
22b2c2cb4f
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ gst_vaapi_window_wayland_create(
|
|||
wl_shell_surface_set_toplevel(priv->shell_surface);
|
||||
wl_shell_surface_set_fullscreen(
|
||||
priv->shell_surface,
|
||||
WL_SHELL_SURFACE_FULLSCREEN_METHOD_DEFAULT,
|
||||
WL_SHELL_SURFACE_FULLSCREEN_METHOD_SCALE,
|
||||
0,
|
||||
NULL
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue