mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-24 01:48:11 +00:00
fallbackswitch: document the pad priority ordering
I just wasted lots of time trying to figure out why my higher priority pad wasn't used... Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1216>
This commit is contained in:
parent
e632d24dda
commit
015edb7d37
2 changed files with 4 additions and 2 deletions
|
@ -1544,7 +1544,7 @@
|
||||||
"writable": false
|
"writable": false
|
||||||
},
|
},
|
||||||
"priority": {
|
"priority": {
|
||||||
"blurb": "Selection priority for this stream",
|
"blurb": "Selection priority for this stream (lower number has a higher priority)",
|
||||||
"conditionally-available": false,
|
"conditionally-available": false,
|
||||||
"construct": false,
|
"construct": false,
|
||||||
"construct-only": false,
|
"construct-only": false,
|
||||||
|
|
|
@ -138,7 +138,9 @@ impl ObjectImpl for FallbackSwitchSinkPad {
|
||||||
vec![
|
vec![
|
||||||
glib::ParamSpecUInt::builder(PROP_PRIORITY)
|
glib::ParamSpecUInt::builder(PROP_PRIORITY)
|
||||||
.nick("Stream Priority")
|
.nick("Stream Priority")
|
||||||
.blurb("Selection priority for this stream")
|
.blurb(
|
||||||
|
"Selection priority for this stream (lower number has a higher priority)",
|
||||||
|
)
|
||||||
.default_value(SinkSettings::default().priority)
|
.default_value(SinkSettings::default().priority)
|
||||||
.build(),
|
.build(),
|
||||||
glib::ParamSpecBoolean::builder(PROP_IS_HEALTHY)
|
glib::ParamSpecBoolean::builder(PROP_IS_HEALTHY)
|
||||||
|
|
Loading…
Reference in a new issue