mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
vorbisenc: Update for GstAudioEncoder API changes
This commit is contained in:
parent
f791ec1f10
commit
c44397cccb
1 changed files with 2 additions and 2 deletions
|
@ -183,7 +183,7 @@ gst_vorbis_enc_class_init (GstVorbisEncClass * klass)
|
||||||
base_class->set_format = GST_DEBUG_FUNCPTR (gst_vorbis_enc_set_format);
|
base_class->set_format = GST_DEBUG_FUNCPTR (gst_vorbis_enc_set_format);
|
||||||
base_class->handle_frame = GST_DEBUG_FUNCPTR (gst_vorbis_enc_handle_frame);
|
base_class->handle_frame = GST_DEBUG_FUNCPTR (gst_vorbis_enc_handle_frame);
|
||||||
base_class->getcaps = GST_DEBUG_FUNCPTR (gst_vorbis_enc_getcaps);
|
base_class->getcaps = GST_DEBUG_FUNCPTR (gst_vorbis_enc_getcaps);
|
||||||
base_class->event = GST_DEBUG_FUNCPTR (gst_vorbis_enc_sink_event);
|
base_class->sink_event = GST_DEBUG_FUNCPTR (gst_vorbis_enc_sink_event);
|
||||||
base_class->pre_push = GST_DEBUG_FUNCPTR (gst_vorbis_enc_pre_push);
|
base_class->pre_push = GST_DEBUG_FUNCPTR (gst_vorbis_enc_pre_push);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -603,7 +603,7 @@ gst_vorbis_enc_sink_event (GstAudioEncoder * enc, GstEvent * event)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* we only peeked, let base class handle it */
|
/* we only peeked, let base class handle it */
|
||||||
return GST_AUDIO_ENCODER_CLASS (parent_class)->event (enc, event);
|
return GST_AUDIO_ENCODER_CLASS (parent_class)->sink_event (enc, event);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* push out the buffer and do internal bookkeeping */
|
/* push out the buffer and do internal bookkeeping */
|
||||||
|
|
Loading…
Reference in a new issue