Skip to content

Commit

Permalink
iOS codec fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Higgins committed Feb 11, 2015
1 parent 7f78d06 commit a09df17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkvtomp4.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a09df17

Please sign in to comment.