mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
twolame: Simple fix for GstAudioEncoder API change
This commit is contained in:
parent
2045f7baa2
commit
1375f98879
1 changed files with 2 additions and 1 deletions
|
@ -402,7 +402,8 @@ gst_two_lame_set_format (GstAudioEncoder * enc, GstAudioInfo * info)
|
|||
/* report needs to base class:
|
||||
* hand one frame at a time, if we are pretty sure what a frame is */
|
||||
if (out_samplerate == twolame->samplerate) {
|
||||
gst_audio_encoder_set_frame_samples (enc, 1152);
|
||||
gst_audio_encoder_set_frame_samples_min (enc, 1152);
|
||||
gst_audio_encoder_set_frame_samples_max (enc, 1152);
|
||||
gst_audio_encoder_set_frame_max (enc, 1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue