From: Olivier Blin Date: Thu, 25 Oct 2012 15:17:35 +0000 (+0200) Subject: dashdemux: fix unused-but-set variable X-Git-Tag: 1.19.3~507^2~13608 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bd2784ffbb3bb38f01e8a4dfed41c9f8d83781a7;p=platform%2Fupstream%2Fgstreamer.git dashdemux: fix unused-but-set variable --- diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c index ee5ec07..db67adb 100644 --- a/ext/dash/gstdashdemux.c +++ b/ext/dash/gstdashdemux.c @@ -937,7 +937,6 @@ gst_dash_demux_stream_loop (GstDashDemux * demux) GstBufferList *buffer_list; guint nb_adaptation_set = 0; GstActiveStream *stream; - GstClockTime duration = 0; /* Wait until the next scheduled push downstream */ if (g_cond_timed_wait (GST_TASK_GET_COND (demux->stream_task), @@ -975,7 +974,6 @@ gst_dash_demux_stream_loop (GstDashDemux * demux) for (i = 0; i < nb_adaptation_set; i++) { GstFragment *fragment = g_list_nth_data (listfragment, i); stream = gst_mpdparser_get_active_stream_by_index (demux->client, i); - duration = fragment->stop_time - fragment->start_time; if (demux->need_segment) { GstClockTime start = fragment->start_time + demux->position_shift; /* And send a newsegment */