diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2015-07-17 17:44:52 -0400 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2015-07-17 17:44:52 -0400 |
commit | 5b5cebf5401e4e313c1e54b1145af3dc0ffe53ad (patch) | |
tree | 0b269b26d40fe06d6765671b7e514c387d235939 | |
parent | 8b6e8701d5fb90559e517b0d03fdce12c50c7c5b (diff) |
baseparse: Don't override gst_segment_do_seek()
This line has no purpose, clearly gst_segment_do_seek() is doing
the right job, also, having the start time (a timestamp) be that
same as time (the stream time) is quite odd.
https://bugzilla.gnome.org/show_bug.cgi?id=750783
-rw-r--r-- | libs/gst/base/gstbaseparse.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/gst/base/gstbaseparse.c b/libs/gst/base/gstbaseparse.c index 146e35ed0..df201abab 100644 --- a/libs/gst/base/gstbaseparse.c +++ b/libs/gst/base/gstbaseparse.c @@ -4340,7 +4340,6 @@ gst_base_parse_handle_seek (GstBaseParse * parse, GstEvent * event) seekpos = gst_base_parse_find_offset (parse, startpos, TRUE, &start_ts); seekstop = gst_base_parse_find_offset (parse, seeksegment.stop, FALSE, NULL); - seeksegment.start = seeksegment.time = seeksegment.position = start_ts; } else { if (rate >= 0) start_ts = seeksegment.position; @@ -4356,7 +4355,6 @@ gst_base_parse_handle_seek (GstBaseParse * parse, GstEvent * event) if (!gst_base_parse_convert (parse, format, seeksegment.stop, GST_FORMAT_BYTES, &seekstop)) goto convert_failed; - } GST_DEBUG_OBJECT (parse, |