From 4fb67fb0da08133c7234e9eccfb296b46ee3e04d Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 22 Jul 2011 21:19:08 +0200 Subject: [PATCH] audioresample: fix for event handler change --- gst/audioresample/gstaudioresample.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gst/audioresample/gstaudioresample.c b/gst/audioresample/gstaudioresample.c index 7bf3980..3884a33 100644 --- a/gst/audioresample/gstaudioresample.c +++ b/gst/audioresample/gstaudioresample.c @@ -138,7 +138,7 @@ static gboolean gst_audio_resample_set_caps (GstBaseTransform * base, GstCaps * incaps, GstCaps * outcaps); static GstFlowReturn gst_audio_resample_transform (GstBaseTransform * base, GstBuffer * inbuf, GstBuffer * outbuf); -static gboolean gst_audio_resample_event (GstBaseTransform * base, +static gboolean gst_audio_resample_sink_event (GstBaseTransform * base, GstEvent * event); static gboolean gst_audio_resample_start (GstBaseTransform * base); static gboolean gst_audio_resample_stop (GstBaseTransform * base); @@ -189,8 +189,8 @@ gst_audio_resample_class_init (GstAudioResampleClass * klass) GST_DEBUG_FUNCPTR (gst_audio_resample_set_caps); GST_BASE_TRANSFORM_CLASS (klass)->transform = GST_DEBUG_FUNCPTR (gst_audio_resample_transform); - GST_BASE_TRANSFORM_CLASS (klass)->event = - GST_DEBUG_FUNCPTR (gst_audio_resample_event); + GST_BASE_TRANSFORM_CLASS (klass)->sink_event = + GST_DEBUG_FUNCPTR (gst_audio_resample_sink_event); GST_BASE_TRANSFORM_CLASS (klass)->passthrough_on_same_caps = TRUE; } @@ -927,7 +927,7 @@ gst_audio_resample_push_drain (GstAudioResample * resample, guint history_len) } static gboolean -gst_audio_resample_event (GstBaseTransform * base, GstEvent * event) +gst_audio_resample_sink_event (GstBaseTransform * base, GstEvent * event) { GstAudioResample *resample = GST_AUDIO_RESAMPLE (base); @@ -973,7 +973,7 @@ gst_audio_resample_event (GstBaseTransform * base, GstEvent * event) break; } - return GST_BASE_TRANSFORM_CLASS (parent_class)->event (base, event); + return GST_BASE_TRANSFORM_CLASS (parent_class)->sink_event (base, event); } static gboolean -- 2.7.4