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:
parent
96b800f82a
commit
0a524ca115
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user