From: Wim Taymans Date: Tue, 20 Aug 2013 06:55:50 +0000 (+0200) Subject: jitterbuffer: remove unused variables X-Git-Tag: 1.1.4~54 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5debda9ca1698026183f0439976e5d65823d45b3;p=platform%2Fupstream%2Fgst-plugins-good.git jitterbuffer: remove unused variables --- diff --git a/gst/rtpmanager/gstrtpjitterbuffer.c b/gst/rtpmanager/gstrtpjitterbuffer.c index 79f1cf4..413c834 100644 --- a/gst/rtpmanager/gstrtpjitterbuffer.c +++ b/gst/rtpmanager/gstrtpjitterbuffer.c @@ -161,8 +161,6 @@ struct _GstRtpJitterBufferPrivate guint32 next_seqnum; /* last output time */ GstClockTime last_out_time; - GstClockTime last_out_dts; - GstClockTime last_out_pts; /* last valid input timestamp and rtptime pair */ GstClockTime ips_dts; guint64 ips_rtptime; @@ -1003,8 +1001,6 @@ gst_rtp_jitter_buffer_flush_stop (GstRtpJitterBuffer * jitterbuffer) gst_segment_init (&priv->segment, GST_FORMAT_TIME); priv->last_popped_seqnum = -1; priv->last_out_time = -1; - priv->last_out_dts = -1; - priv->last_out_pts = -1; priv->next_seqnum = -1; priv->ips_rtptime = -1; priv->ips_dts = GST_CLOCK_TIME_NONE; @@ -2088,8 +2084,6 @@ pop_and_push_next (GstRtpJitterBuffer * jitterbuffer, guint16 seqnum) * so the other end can push stuff in the queue again. */ priv->last_popped_seqnum = seqnum; priv->last_out_time = GST_BUFFER_PTS (outbuf); - priv->last_out_dts = dts; - priv->last_out_pts = pts; priv->next_seqnum = (seqnum + 1) & 0xffff; JBUF_UNLOCK (priv); @@ -2287,8 +2281,6 @@ do_lost_timeout (GstRtpJitterBuffer * jitterbuffer, TimerData * timer, /* update our expected next packet */ priv->last_popped_seqnum = timer->seqnum; priv->last_out_time = apply_offset (jitterbuffer, timer->timeout); - priv->last_out_dts = timer->timeout; - priv->last_out_pts = timer->timeout; if (timer->seqnum + lost_packets > priv->next_seqnum) priv->next_seqnum = (timer->seqnum + lost_packets) & 0xffff; /* remove timer now */