projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f52cf2a
)
tsdemux: clean assignment typo
author
Luis de Bethencourt
<luis.bg@samsung.com>
Mon, 20 Apr 2015 10:30:10 +0000
(11:30 +0100)
committer
Luis 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
patch
|
blob
|
history
diff --git
a/gst/mpegtsdemux/tsdemux.c
b/gst/mpegtsdemux/tsdemux.c
index
dac3e54
..
99214ad
100644
(file)
--- 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;