Commit 31dd3706 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

audiotestsrc: Don't adjust segment time in seek handler

basesrc already did that very well for us, adjusting it again on top of
that just breaks various non-standard seeks.
parent 4bc31e1b
......@@ -1123,16 +1123,6 @@ gst_audio_test_src_do_seek (GstBaseSrc * basesrc, GstSegment * segment)
src->next_sample = next_sample;
if (!src->reverse) {
if (GST_CLOCK_TIME_IS_VALID (segment->start)) {
segment->time = segment->start;
}
} else {
if (GST_CLOCK_TIME_IS_VALID (segment->stop)) {
segment->time = segment->stop;
}
}
if (GST_CLOCK_TIME_IS_VALID (segment->stop)) {
time = segment->stop;
src->sample_stop =
......
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