mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
ext: Update for GstAudioEncoder API changes
This commit is contained in:
parent
c63fa9190b
commit
e74c1d2414
2 changed files with 4 additions and 4 deletions
|
@ -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 *
|
||||
|
|
|
@ -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 *
|
||||
|
|
Loading…
Reference in a new issue