[0.11] gst-plugins-base: audiobasesink: Fix infinite recursion by chaining up to the correct parent class vfunc

Sebastian Dröge slomo at kemper.freedesktop.org
Mon Jan 9 05:20:25 PST 2012


Module: gst-plugins-base
Branch: 0.11
Commit: 5cb3d75dbfe9485c040a11d92d358216baa6da7d
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=5cb3d75dbfe9485c040a11d92d358216baa6da7d

Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date:   Mon Jan  9 14:19:54 2012 +0100

audiobasesink: Fix infinite recursion by chaining up to the correct parent class vfunc

---

 gst-libs/gst/audio/gstaudiobasesink.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gst-libs/gst/audio/gstaudiobasesink.c b/gst-libs/gst/audio/gstaudiobasesink.c
index 1fad65d..1a3ab15 100644
--- a/gst-libs/gst/audio/gstaudiobasesink.c
+++ b/gst-libs/gst/audio/gstaudiobasesink.c
@@ -1021,7 +1021,7 @@ gst_audio_base_sink_wait_eos (GstBaseSink * bsink, GstEvent * event)
   GstAudioBaseSink *sink = GST_AUDIO_BASE_SINK (bsink);
   GstFlowReturn ret;
 
-  ret = GST_BASE_SINK_CLASS (parent_class)->event (bsink, event);
+  ret = GST_BASE_SINK_CLASS (parent_class)->wait_eos (bsink, event);
   if (ret != GST_FLOW_OK)
     return ret;
 



More information about the gstreamer-commits mailing list