[0.11] gst-plugins-bad: faac: Also set maximum number of samples that the subclass wants

Wim Taymans wtay at kemper.freedesktop.org
Mon Sep 26 13:32:39 PDT 2011


Module: gst-plugins-bad
Branch: 0.11
Commit: fc2434fd97fee9cae4a32f4e2865e044fcf5b679
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=fc2434fd97fee9cae4a32f4e2865e044fcf5b679

Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date:   Mon Sep 26 16:26:31 2011 +0200

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

---

 ext/faac/gstfaac.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ext/faac/gstfaac.c b/ext/faac/gstfaac.c
index 22dfa6e..eb132d3 100644
--- a/ext/faac/gstfaac.c
+++ b/ext/faac/gstfaac.c
@@ -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:



More information about the gstreamer-commits mailing list