diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2016-09-14 16:51:30 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-09-14 16:51:30 +0200 |
commit | cf18fae9deb02f0867b67593f678b932f8eb931a (patch) | |
tree | 5015e6f89e24e5f40d84e4755534dba7398d7424 /gst/audiotestsrc | |
parent | fef0efdddb6edfd02a1e309979203e8ab3559d2a (diff) | |
download | gstreamer-plugins-base-cf18fae9deb02f0867b67593f678b932f8eb931a.tar.gz |
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.
Diffstat (limited to 'gst/audiotestsrc')
-rw-r--r-- | gst/audiotestsrc/gstaudiotestsrc.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gst/audiotestsrc/gstaudiotestsrc.c b/gst/audiotestsrc/gstaudiotestsrc.c index 1c3b5bcc4..252c416c1 100644 --- a/gst/audiotestsrc/gstaudiotestsrc.c +++ b/gst/audiotestsrc/gstaudiotestsrc.c @@ -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 = |