Commit 5b5cebf5 authored by Nicolas Dufresne's avatar Nicolas Dufresne
Browse files

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.
parent 8b6e8701
......@@ -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,
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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment