diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2012-07-26 09:28:51 -0400 |
---|---|---|
committer | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2012-07-26 16:12:56 +0200 |
commit | 22b2c2cb4fb29d566abab57c557391ea1cf8e32a (patch) | |
tree | f86f247ade9eeb892215437fe049e1ccf6ba6e13 /gst-libs/gst/vaapi | |
parent | 44d6f7631ba8db5537d3c4d0aecb7b778cd51290 (diff) |
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>
Diffstat (limited to 'gst-libs/gst/vaapi')
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapiwindow_wayland.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiwindow_wayland.c b/gst-libs/gst/vaapi/gstvaapiwindow_wayland.c index 81e658a9..867c37cc 100644 --- a/gst-libs/gst/vaapi/gstvaapiwindow_wayland.c +++ b/gst-libs/gst/vaapi/gstvaapiwindow_wayland.c @@ -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 ); |