mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
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:
parent
f52cf2a7c4
commit
fa4822a41b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue