mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
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.
This commit is contained in:
parent
fef0efdddb
commit
cf18fae9de
1 changed files with 0 additions and 10 deletions
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue