mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-06 05:01:10 -07:00
don't convert VobSub to mov_text. Fixes #1120
This commit is contained in:
parent
ea6175e261
commit
5773da7fcd
1 changed files with 4 additions and 0 deletions
|
@ -426,6 +426,8 @@ def buildCommands(file, newDir, movieName, bitbucket):
|
|||
burnt = 1
|
||||
if not core.ALLOWSUBS:
|
||||
break
|
||||
if sub["codec_name"] in ["dvd_subtitle", "VobSub"] and core.SCODEC == "mov_text": # We can't convert these.
|
||||
continue
|
||||
map_cmd.extend(['-map', '0:{index}'.format(index=sub["index"])])
|
||||
s_mapped.extend([sub["index"]])
|
||||
|
||||
|
@ -435,6 +437,8 @@ def buildCommands(file, newDir, movieName, bitbucket):
|
|||
break
|
||||
if sub["index"] in s_mapped:
|
||||
continue
|
||||
if sub["codec_name"] in ["dvd_subtitle", "VobSub"] and core.SCODEC == "mov_text": # We can't convert these.
|
||||
continue
|
||||
map_cmd.extend(['-map', '0:{index}'.format(index=sub["index"])])
|
||||
s_mapped.extend([sub["index"]])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue