rtpsource: use the right variable

Use the right variable for specifying that we sent a receiver report.
This commit is contained in:
Wim Taymans 2010-12-27 13:11:59 +01:00
parent 60c1a44917
commit b5647685c4

View file

@ -334,7 +334,7 @@ rtp_source_create_stats (RTPSource * src)
if (!internal) { if (!internal) {
/* get the last RB we sent */ /* get the last RB we sent */
gst_structure_set (s, 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-fractionlost", G_TYPE_UINT, (guint) src->last_rr.fractionlost,
"sent-rb-packetslost", G_TYPE_INT, (gint) src->last_rr.packetslost, "sent-rb-packetslost", G_TYPE_INT, (gint) src->last_rr.packetslost,
"sent-rb-exthighestseq", G_TYPE_UINT, "sent-rb-exthighestseq", G_TYPE_UINT,