wayland: use scale fullscreen method.
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 26 Jul 2012 13:28:51 +0000 (09:28 -0400)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 26 Jul 2012 14:12:56 +0000 (16:12 +0200)
This makes the compositor scale the surface to fit and preserves aspect
ratio.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst-libs/gst/vaapi/gstvaapiwindow_wayland.c

index 81e658a..867c37c 100644 (file)
@@ -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
     );