tsdemux: clean assignment typo
authorLuis de Bethencourt <luis.bg@samsung.com>
Mon, 20 Apr 2015 10:30:10 +0000 (11:30 +0100)
committerLuis de Bethencourt <luis.bg@samsung.com>
Mon, 20 Apr 2015 10:30:28 +0000 (11:30 +0100)
No need to set the value twice.

https://bugzilla.gnome.org/show_bug.cgi?id=745102

CID #295122

gst/mpegtsdemux/tsdemux.c

index dac3e54..99214ad 100644 (file)
@@ -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;