mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-06 05:01:10 -07:00
don't create 2 identical audio streams. Fixes #1150
This commit is contained in:
parent
45a20cdd7e
commit
ccd89d5403
1 changed files with 5 additions and 1 deletions
|
@ -367,7 +367,11 @@ def buildCommands(file, newDir, movieName, bitbucket):
|
|||
audio_cmd2[1] = core.ACODEC2
|
||||
if audio_cmd2[1] in ['aac', 'dts']:
|
||||
audio_cmd2[2:2] = ['-strict', '-2']
|
||||
audio_cmd.extend(audio_cmd2)
|
||||
|
||||
if a_mapped[1] == a_mapped[0] and audio_cmd2[1:] == audio_cmd[1:]: #check for duplicate output track.
|
||||
del map_cmd[-2:]
|
||||
else:
|
||||
audio_cmd.extend(audio_cmd2)
|
||||
|
||||
if core.AINCLUDE and core.ACODEC3:
|
||||
for audio in audioStreams:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue