mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
Revert "segment: also intialize the duration"
This reverts commit f1baaae175
.
This commit is contained in:
parent
f1baaae175
commit
38dd43df29
1 changed files with 0 additions and 6 deletions
|
@ -364,12 +364,6 @@ gst_segment_do_seek (GstSegment * segment, gdouble rate,
|
|||
segment->offset = 0;
|
||||
}
|
||||
|
||||
if (start != -1 && stop != -1) {
|
||||
segment->duration = stop - start;
|
||||
} else {
|
||||
segment->duration = -1;
|
||||
}
|
||||
|
||||
segment->start = start;
|
||||
segment->stop = stop;
|
||||
segment->time = start;
|
||||
|
|
Loading…
Reference in a new issue