From d437aba4c4daf9276cd6c263288e1a7a5767d763 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Fri, 20 Apr 2007 15:31:32 +0000 Subject: [PATCH] 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. --- ChangeLog | 8 ++++++++ ext/faad/gstfaad.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 56bcb6bec2..70d59e3057 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2007-04-20 Michael Smith + + * 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 * configure.ac: diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c index 120f88ce13..814de23b8a 100644 --- a/ext/faad/gstfaad.c +++ b/ext/faad/gstfaad.c @@ -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) {