From 195c089f18171194e1b0cd2005c42e594797d6ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 6 Jul 2024 13:41:44 +0300 Subject: [PATCH] gtk4: Declare correct default value for `force-aspect-ratio` property It's defaulting to false as generally keeping the aspect ratio is the job of the widget layout and not the paintable. Part-of: --- video/gtk4/src/sink/paintable/imp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/gtk4/src/sink/paintable/imp.rs b/video/gtk4/src/sink/paintable/imp.rs index 44efd131..a2b996d9 100644 --- a/video/gtk4/src/sink/paintable/imp.rs +++ b/video/gtk4/src/sink/paintable/imp.rs @@ -99,7 +99,7 @@ impl ObjectImpl for Paintable { glib::ParamSpecBoolean::builder("force-aspect-ratio") .nick("Force Aspect Ratio") .blurb("When enabled, scaling will respect original aspect ratio") - .default_value(true) + .default_value(false) .build(), ] });