diff options
author | John Stebbins <[email protected]> | 2020-02-05 09:05:10 -0800 |
---|---|---|
committer | John Stebbins <[email protected]> | 2020-02-05 09:07:34 -0800 |
commit | f3185e151e5229835016a8143022a0dae51cfe98 (patch) | |
tree | 6bb52963ad87af43ce7197e7af99a9413b0b59a0 | |
parent | e4b185a96f9c32a4b927023393e7f5e6244b3152 (diff) |
preset: fix subtitle selection with empty language list
With HandBrakeCLI --all-subtitles and *no* --subtitle-lang-list, no
subtitles were added
(cherry picked from commit 02c85d192886f055072d801dd7126114932d6c45)
-rw-r--r-- | libhb/preset.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/preset.c b/libhb/preset.c index 7df3e3159..ddd6fc63d 100644 --- a/libhb/preset.c +++ b/libhb/preset.c @@ -1170,8 +1170,8 @@ int hb_preset_job_add_subtitles(hb_handle_t *h, int title_index, } if (count <= 0) { - // No matching language. Try "Unknown" language - add_subtitle_for_lang(list, title, mux, "und", &behavior); + // No languages in language list, assume "any" + add_subtitle_for_lang(list, title, mux, "any", &behavior); } } |