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.
This commit is contained in:
Sebastian Dröge 2020-06-25 13:47:45 +03:00
parent e40267e95d
commit 2e13e4ce73

View file

@ -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,
)
})];