gstwaylandsink: add GST_PARAM_MUTABLE_PLAYING flag for more properties

The fullscreen state and rotate method can be changed while the element is
playing, so add the GST_PARAM_MUTABLE_PLAYING flag to those properties to
indicate this.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9283>
This commit is contained in:
Michael Olbrich 2025-06-25 16:21:40 +02:00 committed by GStreamer Marge Bot
parent 96b800f82a
commit 0a524ca115
2 changed files with 6 additions and 4 deletions

View File

@ -256197,7 +256197,7 @@
"construct-only": false,
"controllable": false,
"default": "false",
"mutable": "null",
"mutable": "playing",
"readable": true,
"type": "gboolean",
"writable": true
@ -256220,7 +256220,7 @@
"construct-only": false,
"controllable": false,
"default": "identity (0)",
"mutable": "null",
"mutable": "playing",
"readable": true,
"type": "GstVideoOrientationMethod",
"writable": true

View File

@ -160,7 +160,8 @@ gst_wayland_sink_class_init (GstWaylandSinkClass * klass)
g_object_class_install_property (gobject_class, PROP_FULLSCREEN,
g_param_spec_boolean ("fullscreen", "Fullscreen",
"Whether the surface should be made fullscreen ", FALSE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
G_PARAM_READWRITE | GST_PARAM_MUTABLE_PLAYING |
G_PARAM_STATIC_STRINGS));
/**
* waylandsink:rotate-method:
@ -172,7 +173,8 @@ gst_wayland_sink_class_init (GstWaylandSinkClass * klass)
"rotate method",
"rotate method",
GST_TYPE_VIDEO_ORIENTATION_METHOD, GST_VIDEO_ORIENTATION_IDENTITY,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
G_PARAM_READWRITE | GST_PARAM_MUTABLE_PLAYING |
G_PARAM_STATIC_STRINGS));
/**
* waylandsink:drm-device: