mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
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:
parent
ccb0aa5a05
commit
b886b99345
2 changed files with 7 additions and 1 deletions
|
@ -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:
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue