faac: Also set maximum number of samples that the subclass wants

This commit is contained in:
Sebastian Dröge 2011-09-26 16:26:31 +02:00
parent 874da87b25
commit fc2434fd97

View file

@ -432,6 +432,7 @@ gst_faac_set_format (GstAudioEncoder * enc, GstAudioInfo * info)
/* report needs to base class */
gst_audio_encoder_set_frame_samples_min (enc, samples);
gst_audio_encoder_set_frame_samples_max (enc, samples);
gst_audio_encoder_set_frame_max (enc, 1);
done: