From 6f677a8993265714665bcac6b140e3e2e67adb51 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 13 Oct 2021 15:38:52 +0200 Subject: [PATCH] gtk: Mark properties as changeable in the PLAYING state https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1137#note_1102789 Part-of: --- subprojects/gst-plugins-good/ext/gtk/gtkgstbasewidget.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/subprojects/gst-plugins-good/ext/gtk/gtkgstbasewidget.c b/subprojects/gst-plugins-good/ext/gtk/gtkgstbasewidget.c index 0fbe131..8041b1f 100644 --- a/subprojects/gst-plugins-good/ext/gtk/gtkgstbasewidget.c +++ b/subprojects/gst-plugins-good/ext/gtk/gtkgstbasewidget.c @@ -450,13 +450,15 @@ gtk_gst_base_widget_class_init (GtkGstBaseWidgetClass * klass) "Force aspect ratio", "When enabled, scaling will respect original aspect ratio", DEFAULT_FORCE_ASPECT_RATIO, - G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | + GST_PARAM_MUTABLE_PLAYING)); g_object_class_install_property (gobject_klass, PROP_PIXEL_ASPECT_RATIO, gst_param_spec_fraction ("pixel-aspect-ratio", "Pixel Aspect Ratio", "The pixel aspect ratio of the device", 0, 1, G_MAXINT, G_MAXINT, DEFAULT_DISPLAY_PAR_N, - DEFAULT_DISPLAY_PAR_D, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + DEFAULT_DISPLAY_PAR_D, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | + GST_PARAM_MUTABLE_PLAYING)); g_object_class_install_property (gobject_klass, PROP_IGNORE_ALPHA, g_param_spec_boolean ("ignore-alpha", "Ignore Alpha", -- 2.7.4