mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-06 13:11:11 -07:00
general opts before -i. Fixes #550
This commit is contained in:
parent
56d75e6eb3
commit
64c02f68aa
1 changed files with 2 additions and 2 deletions
|
@ -372,6 +372,8 @@ def buildCommands(file, newDir):
|
|||
|
||||
if nzbtomedia.HWACCEL:
|
||||
command.extend(['-hwaccel', 'auto'])
|
||||
if nzbtomedia.GENERALOPTS:
|
||||
command.extend(nzbtomedia.GENERALOPTS)
|
||||
|
||||
command.extend([ '-i', file])
|
||||
|
||||
|
@ -382,8 +384,6 @@ def buildCommands(file, newDir):
|
|||
map_cmd.extend(['-map', n])
|
||||
n += 1
|
||||
|
||||
if nzbtomedia.GENERALOPTS:
|
||||
command.extend(nzbtomedia.GENERALOPTS)
|
||||
command.extend(map_cmd)
|
||||
command.extend(video_cmd)
|
||||
command.extend(audio_cmd)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue