ext: Update for GstAudioEncoder API changes

This commit is contained in:
Sebastian Dröge 2012-03-30 12:22:48 +02:00
parent 776b25b064
commit 76d2eac1cc

View file

@ -214,7 +214,7 @@ gst_opus_enc_class_init (GstOpusEncClass * klass)
base_class->stop = GST_DEBUG_FUNCPTR (gst_opus_enc_stop);
base_class->set_format = GST_DEBUG_FUNCPTR (gst_opus_enc_set_format);
base_class->handle_frame = GST_DEBUG_FUNCPTR (gst_opus_enc_handle_frame);
base_class->event = GST_DEBUG_FUNCPTR (gst_opus_enc_sink_event);
base_class->sink_event = GST_DEBUG_FUNCPTR (gst_opus_enc_sink_event);
base_class->getcaps = GST_DEBUG_FUNCPTR (gst_opus_enc_sink_getcaps);
g_object_class_install_property (gobject_class, PROP_AUDIO,
@ -707,7 +707,7 @@ gst_opus_enc_sink_event (GstAudioEncoder * benc, GstEvent * event)
break;
}
return GST_AUDIO_ENCODER_CLASS (parent_class)->event (benc, event);
return GST_AUDIO_ENCODER_CLASS (parent_class)->sink_event (benc, event);
}
static GstCaps *