projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1baaae
)
Revert "segment: also intialize the duration"
author
Stefan Sauer
<ensonic@users.sf.net>
Fri, 20 Oct 2017 14:11:44 +0000
(16:11 +0200)
committer
Stefan Sauer
<ensonic@users.sf.net>
Fri, 20 Oct 2017 14:11:44 +0000
(16:11 +0200)
This reverts commit
f1baaae17557fa75a9bcd940b994597714be2f74
.
gst/gstsegment.c
patch
|
blob
|
history
diff --git
a/gst/gstsegment.c
b/gst/gstsegment.c
index f69c6f1dd6366947f65d7b96e9aa3e2a92e03f8f..f355d4aa755256296416560d638025bedacbfca5 100644
(file)
--- a/
gst/gstsegment.c
+++ b/
gst/gstsegment.c
@@
-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;