From 5773da7fcdc6a7073c8023bfc2805714391fd5ec Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Sat, 29 Oct 2016 08:55:29 +1030 Subject: [PATCH] don't convert VobSub to mov_text. Fixes #1120 --- core/transcoder/transcoder.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/transcoder/transcoder.py b/core/transcoder/transcoder.py index e4be5d01..85e68e4a 100644 --- a/core/transcoder/transcoder.py +++ b/core/transcoder/transcoder.py @@ -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"]])