mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-02-16 21:05:15 +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,
|
"construct-only": false,
|
||||||
"controllable": false,
|
"controllable": false,
|
||||||
"default": "200",
|
"default": "200",
|
||||||
"max": "200",
|
"max": "-1",
|
||||||
"min": "18446744069414584320",
|
"min": "0",
|
||||||
"mutable": "null",
|
"mutable": "null",
|
||||||
"readable": true,
|
"readable": true,
|
||||||
"type": "guint",
|
"type": "guint",
|
||||||
|
|
|
@ -1475,7 +1475,7 @@ impl ObjectImpl for JitterBuffer {
|
||||||
match pspec.name() {
|
match pspec.name() {
|
||||||
"latency" => {
|
"latency" => {
|
||||||
let settings = self.settings.lock().unwrap();
|
let settings = self.settings.lock().unwrap();
|
||||||
settings.latency.mseconds().to_value()
|
(settings.latency.mseconds() as u32).to_value()
|
||||||
}
|
}
|
||||||
"do-lost" => {
|
"do-lost" => {
|
||||||
let settings = self.settings.lock().unwrap();
|
let settings = self.settings.lock().unwrap();
|
||||||
|
|
Loading…
Reference in a new issue