gst-libs/gst/audio/gstbaseaudiosink.c: No need to do a typecheck.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
No need to do a typecheck.
This commit is contained in:
Wim Taymans 2005-11-08 11:41:52 +00:00
parent ccb0aa5a05
commit b886b99345
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2005-11-08 Wim Taymans <wim@fluendo.com>
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
No need to do a typecheck.
2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
* ext/alsa/gstalsa.h:

View file

@ -426,7 +426,7 @@ gst_base_audio_sink_render (GstBaseSink * bsink, GstBuffer * buf)
/* 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));
render_time += gst_element_get_base_time (GST_ELEMENT_CAST (bsink));
/* and bring the time to the offset in the buffer */
render_offset = render_time * ringbuf->spec.rate / GST_SECOND;