projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9eaef9d
)
session: fix bandwidth calculation
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 25 Jul 2013 21:51:34 +0000
(23:51 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 26 Jul 2013 10:17:57 +0000
(12:17 +0200)
We iterate over all sources and the internal one is also in the
hashtable so avoid adding it twice.
gst/rtpmanager/rtpsession.c
patch
|
blob
|
history
diff --git
a/gst/rtpmanager/rtpsession.c
b/gst/rtpmanager/rtpsession.c
index
6a97022
..
e62772b
100644
(file)
--- a/
gst/rtpmanager/rtpsession.c
+++ b/
gst/rtpmanager/rtpsession.c
@@
-2464,7
+2464,7
@@
calculate_rtcp_interval (RTPSession * sess, gboolean deterministic,
bandwidth = sess->bandwidth;
else {
/* If it is <= 0, then try to estimate the actual bandwidth */
- bandwidth =
sess->source->bitrate
;
+ bandwidth =
0
;
g_hash_table_foreach (sess->ssrcs[sess->mask_idx],
(GHFunc) add_bitrates, &bandwidth);