From fa4822a41ba6c4d9d988b1426dabe207dc4c9fea Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Mon, 20 Apr 2015 11:30:10 +0100 Subject: [PATCH] tsdemux: clean assignment typo No need to set the value twice. https://bugzilla.gnome.org/show_bug.cgi?id=745102 CID #295122 --- gst/mpegtsdemux/tsdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/mpegtsdemux/tsdemux.c b/gst/mpegtsdemux/tsdemux.c index dac3e54237..99214addc0 100644 --- a/gst/mpegtsdemux/tsdemux.c +++ b/gst/mpegtsdemux/tsdemux.c @@ -1993,7 +1993,7 @@ calculate_and_push_newsegment (GstTSDemux * demux, TSDemuxStream * stream) demux->segment = base->segment; } else { /* Start from the first ts/pts */ - GstClockTime base = base = demux->segment.position - demux->segment.start; + GstClockTime base = demux->segment.position - demux->segment.start; gst_segment_init (&demux->segment, GST_FORMAT_TIME); demux->segment.start = firstts; demux->segment.stop = GST_CLOCK_TIME_NONE;