mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-07 05:31:11 -07:00
Fix subtitle codec check. Fixes #473
This commit is contained in:
parent
40ae33c689
commit
37cc367e76
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ def buildCommands(file, newDir):
|
||||||
if nzbtomedia.OUTPUTQUALITYPERCENT:
|
if nzbtomedia.OUTPUTQUALITYPERCENT:
|
||||||
audio_cmd.extend(['-q:a', str(nzbtomedia.OUTPUTQUALITYPERCENT)])
|
audio_cmd.extend(['-q:a', str(nzbtomedia.OUTPUTQUALITYPERCENT)])
|
||||||
|
|
||||||
if nzbtomedia.OUTPUTSUBTITLECODEC and nzbtomedia.ALLOWSUBS:
|
if nzbtomedia.SCODEC and nzbtomedia.ALLOWSUBS:
|
||||||
sub_cmd.extend(['-c:s', nzbtomedia.SCODEC])
|
sub_cmd.extend(['-c:s', nzbtomedia.SCODEC])
|
||||||
elif nzbtomedia.ALLOWSUBS: # Not every subtitle codec can be used for every video container format!
|
elif nzbtomedia.ALLOWSUBS: # Not every subtitle codec can be used for every video container format!
|
||||||
sub_cmd.extend(['-c:s', 'copy'])
|
sub_cmd.extend(['-c:s', 'copy'])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue