From a09df170aae48bac4ae73cfb358c46164630f9cb Mon Sep 17 00:00:00 2001 From: Michael Higgins Date: Tue, 10 Feb 2015 20:54:11 -0500 Subject: [PATCH] iOS codec fix --- mkvtomp4.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkvtomp4.py b/mkvtomp4.py index 9fefb1a6..25205bb9 100644 --- a/mkvtomp4.py +++ b/mkvtomp4.py @@ -223,7 +223,7 @@ def generateOptions(self, inputfile, original=None): l += 1 # If the iOS audio option is enabled and the source audio channel is only stereo, the additional iOS channel will be skipped and a single AAC 2.0 channel will be made regardless of codec preference to avoid multiple stereo channels if self.iOS and a.audio_channels <= 2: - acodec = 'copy' if a.codec == 'aac' else self.iOS + acodec = 'copy' if a.codec == self.iOS else self.iOS audio_channels = a.audio_channels abitrate = a.audio_channels * 128 else: