ext/faad/gstfaad.c: FAAD fails to decode low (e.g. 8 kHz) sample rate AAC data in quicktime because of sample rate mi...

Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_open_decoder):
FAAD fails to decode low (e.g. 8 kHz) sample rate AAC data in
quicktime because of sample rate mismatches.
Reenable overriding the implicit SBR behaviour (accidently changed?)
to allow playback of these files.
This commit is contained in:
Michael Smith 2007-04-20 15:31:32 +00:00
parent fee6896ecb
commit d437aba4c4
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,11 @@
2007-04-20 Michael Smith <msmith@fluendo.com>
* ext/faad/gstfaad.c: (gst_faad_open_decoder):
FAAD fails to decode low (e.g. 8 kHz) sample rate AAC data in
quicktime because of sample rate mismatches.
Reenable overriding the implicit SBR behaviour (accidently changed?)
to allow playback of these files.
2007-04-19 David Schleef <ds@schleef.org>
* configure.ac:

View file

@ -1461,7 +1461,7 @@ gst_faad_open_decoder (GstFaad * faad)
conf = faacDecGetCurrentConfiguration (faad->handle);
conf->defObjectType = LC;
/* conf->dontUpSampleImplicitSBR = 1; */
conf->dontUpSampleImplicitSBR = 1;
conf->outputFormat = FAAD_FMT_16BIT;
if (faacDecSetConfiguration (faad->handle, conf) == 0) {