Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
Respect segment rate and accum when scheduling samples.
+2005-10-11 Wim Taymans <wim@fluendo.com>
+
+ * gst-libs/gst/audio/gstbaseaudiosink.c:
+ (gst_base_audio_sink_render):
+ Respect segment rate and accum when scheduling samples.
+
2005-10-11 Julien MOUTTE <julien@moutte.net>
* ext/ogg/gstoggmux.c: (gst_ogg_mux_queue_pads),
/* bring buffer timestamp to stream time */
render_time = render_diff;
+ /* adjust for rate */
+ render_time /= ABS (bsink->segment_rate);
+ /* adjust for accumulated segments */
+ render_time += bsink->segment_accum;
/* add base time to get absolute clock time */
render_time += gst_element_get_base_time (GST_ELEMENT (bsink));
/* and bring the time to the offset in the buffer */