base_class->set_format = GST_DEBUG_FUNCPTR (gst_flac_enc_set_format);
base_class->handle_frame = GST_DEBUG_FUNCPTR (gst_flac_enc_handle_frame);
base_class->getcaps = GST_DEBUG_FUNCPTR (gst_flac_enc_getcaps);
- base_class->event = GST_DEBUG_FUNCPTR (gst_flac_enc_sink_event);
+ base_class->sink_event = GST_DEBUG_FUNCPTR (gst_flac_enc_sink_event);
}
static void
switch (GST_EVENT_TYPE (event)) {
case GST_EVENT_EOS:
flacenc->eos = TRUE;
- ret = GST_AUDIO_ENCODER_CLASS (parent_class)->event (enc, event);
+ ret = GST_AUDIO_ENCODER_CLASS (parent_class)->sink_event (enc, event);
break;
case GST_EVENT_TAG:
if (flacenc->tags) {
} else {
g_assert_not_reached ();
}
- ret = GST_AUDIO_ENCODER_CLASS (parent_class)->event (enc, event);
+ ret = GST_AUDIO_ENCODER_CLASS (parent_class)->sink_event (enc, event);
break;
default:
- ret = GST_AUDIO_ENCODER_CLASS (parent_class)->event (enc, event);
+ ret = GST_AUDIO_ENCODER_CLASS (parent_class)->sink_event (enc, event);
break;
}
base_class->stop = GST_DEBUG_FUNCPTR (gst_speex_enc_stop);
base_class->set_format = GST_DEBUG_FUNCPTR (gst_speex_enc_set_format);
base_class->handle_frame = GST_DEBUG_FUNCPTR (gst_speex_enc_handle_frame);
- base_class->event = GST_DEBUG_FUNCPTR (gst_speex_enc_sink_event);
+ base_class->sink_event = GST_DEBUG_FUNCPTR (gst_speex_enc_sink_event);
base_class->pre_push = GST_DEBUG_FUNCPTR (gst_speex_enc_pre_push);
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_QUALITY,
}
/* we only peeked, let base class handle it */
- return GST_AUDIO_ENCODER_CLASS (parent_class)->event (benc, event);
+ return GST_AUDIO_ENCODER_CLASS (parent_class)->sink_event (benc, event);
}
static GstFlowReturn
base_class->stop = GST_DEBUG_FUNCPTR (gst_wavpack_enc_stop);
base_class->set_format = GST_DEBUG_FUNCPTR (gst_wavpack_enc_set_format);
base_class->handle_frame = GST_DEBUG_FUNCPTR (gst_wavpack_enc_handle_frame);
- base_class->event = GST_DEBUG_FUNCPTR (gst_wavpack_enc_sink_event);
+ base_class->sink_event = GST_DEBUG_FUNCPTR (gst_wavpack_enc_sink_event);
/* install all properties */
g_object_class_install_property (gobject_class, ARG_MODE,
}
/* baseclass handles rest */
- return GST_AUDIO_ENCODER_CLASS (parent_class)->event (benc, event);
+ return GST_AUDIO_ENCODER_CLASS (parent_class)->sink_event (benc, event);
}
static void