Original commit message from CVS:
* gst/audiotestsrc/gstaudiotestsrc.c: (gst_audio_test_src_do_seek):
* gst/videotestsrc/gstvideotestsrc.c: (gst_video_test_src_do_seek):
Use the segment->last_stop value to calculate the next timestamp to
generate after a seek; not the segment->start value.
+2007-05-17 Michael Smith <msmith@fluendo.com>
+
+ * gst/audiotestsrc/gstaudiotestsrc.c: (gst_audio_test_src_do_seek):
+ * gst/videotestsrc/gstvideotestsrc.c: (gst_video_test_src_do_seek):
+ Use the segment->last_stop value to calculate the next timestamp to
+ generate after a seek; not the segment->start value.
+
2007-05-15 David Schleef <ds@schleef.org>
* docs/Makefile.am: Install docs even when --disable-gtk-doc
GstAudioTestSrc *src = GST_AUDIO_TEST_SRC (basesrc);
GstClockTime time;
- time = segment->time = segment->start;
+ segment->time = segment->start;
+ time = segment->last_stop;
/* now move to the time indicated */
src->n_samples = time * src->samplerate / GST_SECOND;
src = GST_VIDEO_TEST_SRC (bsrc);
- time = segment->time = segment->start;
+ segment->time = segment->start;
+ time = segment->last_stop;
/* now move to the time indicated */
if (src->rate_numerator) {