summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2010-12-27 13:11:59 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2010-12-27 13:13:46 +0100
commitb5647685c4688836581cf3bde925051f0a378987 (patch)
tree2d522134909c65342d1558e2265ea9cf3526cf23
parent60c1a44917efa32bccc29800df5d9a84c21ccd4b (diff)
rtpsource: use the right variable
Use the right variable for specifying that we sent a receiver report.
-rw-r--r--gst/rtpmanager/rtpsource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtpmanager/rtpsource.c b/gst/rtpmanager/rtpsource.c
index 3d5b6c1f5..4a3af168a 100644
--- a/gst/rtpmanager/rtpsource.c
+++ b/gst/rtpmanager/rtpsource.c
@@ -334,7 +334,7 @@ rtp_source_create_stats (RTPSource * src)
if (!internal) {
/* get the last RB we sent */
gst_structure_set (s,
- "sent-rb", G_TYPE_BOOLEAN, have_rb,
+ "sent-rb", G_TYPE_BOOLEAN, src->last_rr.is_valid,
"sent-rb-fractionlost", G_TYPE_UINT, (guint) src->last_rr.fractionlost,
"sent-rb-packetslost", G_TYPE_INT, (gint) src->last_rr.packetslost,
"sent-rb-exthighestseq", G_TYPE_UINT,