summaryrefslogtreecommitdiffstats
path: root/gst/rtpmanager/rtpsource.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2008-05-26 10:09:29 +0000
committerWim Taymans <wim.taymans@gmail.com>2008-05-26 10:09:29 +0000
commit987a903d893d8e5408262717e14319dd56f81cce (patch)
tree84c33ea3bbc5c4d973698a7582d42515a231a488 /gst/rtpmanager/rtpsource.c
parentff79f31297d201afe8e74c11f6e65fad26fbf12d (diff)
downloadgst-plugins-bad-987a903d893d8e5408262717e14319dd56f81cce.tar.gz
gst-plugins-bad-987a903d893d8e5408262717e14319dd56f81cce.tar.bz2
gst-plugins-bad-987a903d893d8e5408262717e14319dd56f81cce.zip
gst/rtpmanager/gstrtpjitterbuffer.c: When checking the seqnum, reset the jitterbuffer if the gap is too big, we need ...
Original commit message from CVS: * gst/rtpmanager/gstrtpjitterbuffer.c: (gst_rtp_jitter_buffer_chain), (gst_rtp_jitter_buffer_loop): When checking the seqnum, reset the jitterbuffer if the gap is too big, we need to do this so that we can better handle a restarted source. Fix some comments. * gst/rtpmanager/rtpjitterbuffer.c: (calculate_skew), (rtp_jitter_buffer_insert): Tweak the skew resync diff. Use our working seqnum compare function in -base. Rework the jitterbuffer insert code to make it clearer and more performant by only retrieving the seqnum of the input buffer once and by adding some G_LIKELY compiler hints. Improve debugging for duplicate packets. * gst/rtpmanager/rtpsource.c: (rtp_source_process_rtp): Fix a comment, we don't do skew correction here..
Diffstat (limited to 'gst/rtpmanager/rtpsource.c')
-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 4c351a1a..7eab91e0 100644
--- a/gst/rtpmanager/rtpsource.c
+++ b/gst/rtpmanager/rtpsource.c
@@ -940,7 +940,7 @@ rtp_source_process_rtp (RTPSource * src, GstBuffer * buffer,
GST_DEBUG ("seq %d, PC: %" G_GUINT64_FORMAT ", OC: %" G_GUINT64_FORMAT,
seqnr, src->stats.packets_received, src->stats.octets_received);
- /* calculate jitter and perform skew correction */
+ /* calculate jitter for the stats */
calculate_jitter (src, buffer, arrival);
/* we're ready to push the RTP packet now */