don't convert VobSub to mov_text. Fixes #1120

This commit is contained in:
clinton-hall 2016-10-29 08:55:29 +10:30
parent ea6175e261
commit 5773da7fcd

View file

@ -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"]])