From b1318c86e8418f579646f4b2397a7fc9f1661ca2 Mon Sep 17 00:00:00 2001 From: Miguel Angel Cabrera Moya Date: Mon, 29 Oct 2012 21:29:36 +0100 Subject: [PATCH] rtpbasedepay: remove unused variable https://bugzilla.gnome.org/show_bug.cgi?id=687146 --- gst-libs/gst/rtp/gstrtpbasedepayload.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gst-libs/gst/rtp/gstrtpbasedepayload.c b/gst-libs/gst/rtp/gstrtpbasedepayload.c index 1c59aa142f..524f629d1e 100644 --- a/gst-libs/gst/rtp/gstrtpbasedepayload.c +++ b/gst-libs/gst/rtp/gstrtpbasedepayload.c @@ -622,7 +622,7 @@ static gboolean gst_rtp_base_depayload_packet_lost (GstRTPBaseDepayload * filter, GstEvent * event) { - GstClockTime timestamp, duration, position; + GstClockTime timestamp, duration; GstEvent *sevent; const GstStructure *s; @@ -635,10 +635,6 @@ gst_rtp_base_depayload_packet_lost (GstRTPBaseDepayload * filter, gst_structure_get_clock_time (s, "timestamp", ×tamp); gst_structure_get_clock_time (s, "duration", &duration); - position = timestamp; - if (duration != -1) - position += duration; - /* send GAP event */ sevent = gst_event_new_gap (timestamp, duration);