summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis.bg@samsung.com>2015-04-20 11:30:10 +0100
committerLuis de Bethencourt <luis.bg@samsung.com>2015-04-20 11:30:28 +0100
commitfa4822a41ba6c4d9d988b1426dabe207dc4c9fea (patch)
treedb8f840592de696a380582709452b11f6e3f78fc /gst
parentf52cf2a7c4a03065eb435d9df390923783f4c715 (diff)
downloadgstreamer-plugins-bad-fa4822a41ba6c4d9d988b1426dabe207dc4c9fea.tar.gz
tsdemux: clean assignment typo
No need to set the value twice. https://bugzilla.gnome.org/show_bug.cgi?id=745102 CID #295122
Diffstat (limited to 'gst')
-rw-r--r--gst/mpegtsdemux/tsdemux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/mpegtsdemux/tsdemux.c b/gst/mpegtsdemux/tsdemux.c
index dac3e5423..99214addc 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;