fallbacksrc: Changing the URI of the video fallback is supported in NULL state

And not just during construction.

This fixes switching from a failing video fallback to a dummy fallback,
which was added in c7fe08bf6.
This commit is contained in:
Sebastian Dröge 2022-02-24 12:29:53 +02:00
parent c2aafa4f46
commit a1e2debde4

View file

@ -78,7 +78,7 @@ impl ObjectImpl for VideoFallbackSource {
"URI",
"URI to use for video in case the main stream doesn't work",
None,
glib::ParamFlags::READWRITE | glib::ParamFlags::CONSTRUCT_ONLY,
glib::ParamFlags::READWRITE,
),
glib::ParamSpecUInt64::new(
"min-latency",
@ -87,7 +87,7 @@ impl ObjectImpl for VideoFallbackSource {
0,
std::u64::MAX,
0,
glib::ParamFlags::READWRITE | glib::ParamFlags::CONSTRUCT_ONLY,
glib::ParamFlags::READWRITE,
),
]
});