mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 05:13:16 -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
|
burnt = 1
|
||||||
if not core.ALLOWSUBS:
|
if not core.ALLOWSUBS:
|
||||||
break
|
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"])])
|
map_cmd.extend(['-map', '0:{index}'.format(index=sub["index"])])
|
||||||
s_mapped.extend([sub["index"]])
|
s_mapped.extend([sub["index"]])
|
||||||
|
|
||||||
|
@ -435,6 +437,8 @@ def buildCommands(file, newDir, movieName, bitbucket):
|
||||||
break
|
break
|
||||||
if sub["index"] in s_mapped:
|
if sub["index"] in s_mapped:
|
||||||
continue
|
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"])])
|
map_cmd.extend(['-map', '0:{index}'.format(index=sub["index"])])
|
||||||
s_mapped.extend([sub["index"]])
|
s_mapped.extend([sub["index"]])
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue