mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-10-31 14:48:55 +00:00
livesync: fix late-threshold property min value
The code is handling 0 as "always over threshold" but it was not possible to set the property to 0. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1049>
This commit is contained in:
parent
812df78b75
commit
570eb7463a
2 changed files with 2 additions and 2 deletions
|
@ -2587,7 +2587,7 @@
|
|||
"controllable": false,
|
||||
"default": "2000000000",
|
||||
"max": "18446744073709551615",
|
||||
"min": "1000000000",
|
||||
"min": "0",
|
||||
"mutable": "playing",
|
||||
"readable": true,
|
||||
"type": "guint64",
|
||||
|
|
|
@ -103,7 +103,7 @@ const PROP_SINGLE_SEGMENT: &str = "single-segment";
|
|||
|
||||
const DEFAULT_LATENCY: gst::ClockTime = gst::ClockTime::ZERO;
|
||||
const DEFAULT_DURATION: gst::ClockTime = gst::ClockTime::from_mseconds(100);
|
||||
const MINIMUM_LATE_THRESHOLD: gst::ClockTime = gst::ClockTime::from_seconds(1);
|
||||
const MINIMUM_LATE_THRESHOLD: gst::ClockTime = gst::ClockTime::ZERO;
|
||||
const DEFAULT_LATE_THRESHOLD: Option<gst::ClockTime> = Some(gst::ClockTime::from_seconds(2));
|
||||
|
||||
impl Default for State {
|
||||
|
|
Loading…
Reference in a new issue