summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorRodeo <[email protected]>2012-06-29 12:22:55 +0000
committerRodeo <[email protected]>2012-06-29 12:22:55 +0000
commit24019e7812e9da31dd90c353ece7706a1247442a (patch)
tree334dacf343d2fef821355ef91023e37153172a22 /libhb
parent1cf710fbdc28ac74b82ac2cff4fc3f87c004b583 (diff)
muxmkv: improve reliability of HE-AAC check when doing AAC Passthru.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4789 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r--libhb/muxmkv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/muxmkv.c b/libhb/muxmkv.c
index bca946bfb..064dbb145 100644
--- a/libhb/muxmkv.c
+++ b/libhb/muxmkv.c
@@ -289,7 +289,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