mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-22 18:16:28 +00:00
tsjitterbuffer: Fix latency type when getting property
This commit is contained in:
parent
67e9ba8286
commit
664e2b75bd
2 changed files with 3 additions and 3 deletions
|
@ -5585,8 +5585,8 @@
|
|||
"construct-only": false,
|
||||
"controllable": false,
|
||||
"default": "200",
|
||||
"max": "200",
|
||||
"min": "18446744069414584320",
|
||||
"max": "-1",
|
||||
"min": "0",
|
||||
"mutable": "null",
|
||||
"readable": true,
|
||||
"type": "guint",
|
||||
|
|
|
@ -1475,7 +1475,7 @@ impl ObjectImpl for JitterBuffer {
|
|||
match pspec.name() {
|
||||
"latency" => {
|
||||
let settings = self.settings.lock().unwrap();
|
||||
settings.latency.mseconds().to_value()
|
||||
(settings.latency.mseconds() as u32).to_value()
|
||||
}
|
||||
"do-lost" => {
|
||||
let settings = self.settings.lock().unwrap();
|
||||
|
|
Loading…
Reference in a new issue