diff options
author | John Stebbins <[email protected]> | 2020-02-05 09:05:10 -0800 |
---|---|---|
committer | John Stebbins <[email protected]> | 2020-02-05 09:06:43 -0800 |
commit | 02c85d192886f055072d801dd7126114932d6c45 (patch) | |
tree | 384cb2faaa8a06f26334382ad658759194a5c237 /libhb/preset.c | |
parent | 95148b574712418f03fbcec48e41719d0be90800 (diff) |
preset: fix subtitle selection with empty language list
With HandBrakeCLI --all-subtitles and *no* --subtitle-lang-list, no
subtitles were added
Diffstat (limited to 'libhb/preset.c')
-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 daa9df81f..e3c6fda60 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); } } |