mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
jitterbuffer: report level using high watermark
This commit is contained in:
parent
8d814f3782
commit
048e5b6fbe
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ update_buffer_level (RTPJitterBuffer * jbuf, gint * percent)
|
|||
gint perc;
|
||||
|
||||
if (jbuf->buffering) {
|
||||
perc = (jbuf->level * 100 / jbuf->delay);
|
||||
perc = (jbuf->level * 100 / jbuf->high_level);
|
||||
perc = MIN (perc, 100);
|
||||
} else {
|
||||
perc = 100;
|
||||
|
|
Loading…
Reference in a new issue