projects
/
platform
/
upstream
/
gst-plugins-good.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
session: fix bandwidth calculation
[platform/upstream/gst-plugins-good.git]
/
gst
/
rtpmanager
/
rtpsession.c
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);