ext: Update for GstAudioEncoder API changes

This commit is contained in:
Sebastian Dröge 2012-03-30 12:22:48 +02:00
parent c63fa9190b
commit e74c1d2414
2 changed files with 4 additions and 4 deletions

View file

@ -152,7 +152,7 @@ gst_celt_enc_class_init (GstCeltEncClass * klass)
gstbase_class->stop = GST_DEBUG_FUNCPTR (gst_celt_enc_stop);
gstbase_class->set_format = GST_DEBUG_FUNCPTR (gst_celt_enc_set_format);
gstbase_class->handle_frame = GST_DEBUG_FUNCPTR (gst_celt_enc_handle_frame);
gstbase_class->event = GST_DEBUG_FUNCPTR (gst_celt_enc_sink_event);
gstbase_class->sink_event = GST_DEBUG_FUNCPTR (gst_celt_enc_sink_event);
gstbase_class->pre_push = GST_DEBUG_FUNCPTR (gst_celt_enc_pre_push);
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_BITRATE,
@ -403,7 +403,7 @@ gst_celt_enc_sink_event (GstAudioEncoder * benc, GstEvent * event)
}
/* 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 GstBuffer *

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 *