diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2020-06-25 13:47:45 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2020-06-25 13:47:45 +0300 |
commit | 2e13e4ce73e3e9598b0aa7e02de6bcf05b4e054f (patch) | |
tree | d8fd5ee5afce03031aef0f47364e830711739c23 | |
parent | e40267e95db3b5e7fa0f4eaeeb7f889a92f91a0a (diff) |
fallbacksrc: Mark internal source property for custom sources as write/construct-only
It's only used during construction of the internal bin after all.
Keeping it readable would cause e.g. creating a pipeline graph trying to
read it, which is not implemented.
-rw-r--r-- | utils/fallbackswitch/src/fallbacksrc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/fallbackswitch/src/fallbacksrc.rs b/utils/fallbackswitch/src/fallbacksrc.rs index 09053c860..1343930ea 100644 --- a/utils/fallbackswitch/src/fallbacksrc.rs +++ b/utils/fallbackswitch/src/fallbacksrc.rs @@ -1948,7 +1948,7 @@ mod custom_source { "Source", "Source", gst::Element::static_type(), - glib::ParamFlags::READWRITE | glib::ParamFlags::CONSTRUCT_ONLY, + glib::ParamFlags::WRITABLE | glib::ParamFlags::CONSTRUCT_ONLY, ) })]; |