gst-libs/gst/rtp/gstrtcpbuffer.c: Fix offset bug in generation RR packets.

Original commit message from CVS:
* gst-libs/gst/rtp/gstrtcpbuffer.c: (gst_rtcp_packet_add_rb):
Fix offset bug in generation RR packets.
This commit is contained in:
Wim Taymans 2007-04-29 14:38:05 +00:00
parent d299d1c063
commit 7033e458ca
3 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2007-04-29 Wim Taymans <wim@fluendo.com>
* gst-libs/gst/rtp/gstrtcpbuffer.c: (gst_rtcp_packet_add_rb):
Fix offset bug in generation RR packets.
2007-04-27 Julien MOUTTE <julien@moutte.net> 2007-04-27 Julien MOUTTE <julien@moutte.net>
* ext/theora/theoradec.c: (_theora_granule_time), * ext/theora/theoradec.c: (_theora_granule_time),

2
common

@ -1 +1 @@
Subproject commit a19d235c89d99ca7849078d501129f521e30d98d Subproject commit 61edc2dc7b8eba179d85a6545e46e0d65239e94d

View file

@ -822,9 +822,9 @@ gst_rtcp_packet_add_rb (GstRTCPPacket * packet, guint32 ssrc,
/* skip header */ /* skip header */
offset = packet->offset + 4; offset = packet->offset + 4;
if (packet->type == GST_RTCP_TYPE_RR) if (packet->type == GST_RTCP_TYPE_RR)
offset += 8; offset += 4;
else else
offset += 28; offset += 24;
/* move to current index */ /* move to current index */
offset += (packet->count * 24); offset += (packet->count * 24);