summaryrefslogtreecommitdiff
path: root/ext/twolame
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2011-09-26 16:29:12 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2011-09-26 16:29:12 +0200
commit62497d4ba8f8e2759f0772e3eab77e1445701dcd (patch)
tree5ca08dbce445c419d0f48b0600ab3d19de5e23e5 /ext/twolame
parenteb6d67b2d4107a166b55310c9edf8d4ced7d9368 (diff)
twolame: Simple fix for GstAudioEncoder API change
Diffstat (limited to 'ext/twolame')
-rw-r--r--ext/twolame/gsttwolame.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/twolame/gsttwolame.c b/ext/twolame/gsttwolame.c
index 1677ff37ec..7d7fdc63cf 100644
--- a/ext/twolame/gsttwolame.c
+++ b/ext/twolame/gsttwolame.c
@@ -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);
}