From b886b99345a438c41145fc48e0482869ac372234 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 8 Nov 2005 11:41:52 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ gst-libs/gst/audio/gstbaseaudiosink.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 01a6737..82b5931 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-11-08 Wim Taymans + + * gst-libs/gst/audio/gstbaseaudiosink.c: + (gst_base_audio_sink_render): + No need to do a typecheck. + 2005-11-07 Tim-Philipp Müller * ext/alsa/gstalsa.h: diff --git a/gst-libs/gst/audio/gstbaseaudiosink.c b/gst-libs/gst/audio/gstbaseaudiosink.c index 1bb5f4d..947915e 100644 --- a/gst-libs/gst/audio/gstbaseaudiosink.c +++ b/gst-libs/gst/audio/gstbaseaudiosink.c @@ -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; -- 2.7.4