projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d814f3
)
jitterbuffer: report level using high watermark
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 6 Oct 2009 11:30:54 +0000
(13:30 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 12 Feb 2010 16:22:54 +0000
(17:22 +0100)
gst/rtpmanager/rtpjitterbuffer.c
patch
|
blob
|
history
diff --git
a/gst/rtpmanager/rtpjitterbuffer.c
b/gst/rtpmanager/rtpjitterbuffer.c
index 532cc13edc41dff26f793c2aad3b6a314e1d36e3..00ee0acc2bb8b943d62bccf4a643133b2f1a9583 100644
(file)
--- a/
gst/rtpmanager/rtpjitterbuffer.c
+++ b/
gst/rtpmanager/rtpjitterbuffer.c
@@
-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;