From: Rodeo Date: Fri, 29 Jun 2012 12:24:41 +0000 (+0000) Subject: Bugfix branch: improve reliability of HE-AAC check when doing AAC Passthru. X-Git-Tag: 0.9.6.1~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d286efe7328f91ce2854601fb458dada2d73b127;p=handbrake Bugfix branch: improve reliability of HE-AAC check when doing AAC Passthru. git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/0.9.x@4790 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- diff --git a/libhb/muxmkv.c b/libhb/muxmkv.c index 5debb658d..845841a35 100644 --- a/libhb/muxmkv.c +++ b/libhb/muxmkv.c @@ -286,7 +286,7 @@ static int MKVInit( hb_mux_object_t * m ) // sample rate if ((audio->config.out.codec == HB_ACODEC_CA_HAAC) || (audio->config.out.codec == HB_ACODEC_AAC_PASS && - audio->priv.config.extradata.length == 5)) + audio->config.in.samples_per_frame > 1024)) { // For HE-AAC, write outputSamplingFreq too // samplingFreq is half of outputSamplingFreq