summaryrefslogtreecommitdiffstats
path: root/gst/rtpmanager/gstrtpssrcdemux.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2007-10-05 12:07:37 +0000
committerWim Taymans <wim.taymans@gmail.com>2007-10-05 12:07:37 +0000
commit6e5d23b3d7ab28343a29ff4af7dc65d6a31e79ae (patch)
tree9a6b04a3b182fef5cacbf49bd69e2914cc915510 /gst/rtpmanager/gstrtpssrcdemux.c
parent69c24a99e4afcd74f1852fd8a426e4449e651564 (diff)
downloadgst-plugins-bad-6e5d23b3d7ab28343a29ff4af7dc65d6a31e79ae.tar.gz
gst-plugins-bad-6e5d23b3d7ab28343a29ff4af7dc65d6a31e79ae.tar.bz2
gst-plugins-bad-6e5d23b3d7ab28343a29ff4af7dc65d6a31e79ae.zip
gst/rtpmanager/gstrtpjitterbuffer.c: Only peek at the tail element instead of popping it off, which allows us to grea...
Original commit message from CVS: * gst/rtpmanager/gstrtpjitterbuffer.c: (gst_rtp_jitter_buffer_chain), (gst_rtp_jitter_buffer_loop): Only peek at the tail element instead of popping it off, which allows us to greatly simplify things when the tail element changes. * gst/rtpmanager/gstrtpsession.c: (gst_rtp_session_event_recv_rtp_sink): * gst/rtpmanager/gstrtpssrcdemux.c: (gst_rtp_ssrc_demux_sink_event): Forward FLUSH events instead of leaking them. * gst/rtpmanager/rtpjitterbuffer.c: (rtp_jitter_buffer_reset_skew), (calculate_skew), (rtp_jitter_buffer_insert): * gst/rtpmanager/rtpjitterbuffer.h: Remove the tail-changed callback in favour of a simple boolean when we insert a buffer in the queue. Add method to peek the tail of the buffer.
Diffstat (limited to 'gst/rtpmanager/gstrtpssrcdemux.c')
-rw-r--r--gst/rtpmanager/gstrtpssrcdemux.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gst/rtpmanager/gstrtpssrcdemux.c b/gst/rtpmanager/gstrtpssrcdemux.c
index a5956d1c..472f5f55 100644
--- a/gst/rtpmanager/gstrtpssrcdemux.c
+++ b/gst/rtpmanager/gstrtpssrcdemux.c
@@ -344,7 +344,6 @@ gst_rtp_ssrc_demux_sink_event (GstPad * pad, GstEvent * event)
switch (GST_EVENT_TYPE (event)) {
case GST_EVENT_FLUSH_STOP:
gst_segment_init (&demux->segment, GST_FORMAT_UNDEFINED);
- break;
case GST_EVENT_NEWSEGMENT:
default:
{