tsdemux: clean assignment typo

No need to set the value twice.

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

CID #295122
This commit is contained in:
Luis de Bethencourt 2015-04-20 11:30:10 +01:00
parent f52cf2a7c4
commit fa4822a41b

View file

@ -1993,7 +1993,7 @@ calculate_and_push_newsegment (GstTSDemux * demux, TSDemuxStream * stream)
demux->segment = base->segment; demux->segment = base->segment;
} else { } else {
/* Start from the first ts/pts */ /* 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); gst_segment_init (&demux->segment, GST_FORMAT_TIME);
demux->segment.start = firstts; demux->segment.start = firstts;
demux->segment.stop = GST_CLOCK_TIME_NONE; demux->segment.stop = GST_CLOCK_TIME_NONE;