mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-23 02:26:35 +00:00
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:
parent
c2aafa4f46
commit
a1e2debde4
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
),
|
||||
]
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue