diff options
-rw-r--r-- | libhb/preset.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libhb/preset.c b/libhb/preset.c index 057de4ec0..f82dba7f4 100644 --- a/libhb/preset.c +++ b/libhb/preset.c @@ -864,10 +864,8 @@ int hb_preset_job_add_audio(hb_handle_t *h, int title_index, add_audio_for_lang(list, preset, title, mux, copy_mask, fallback, lang, behavior, mode, track_dict); } - // If no audios found, try "any" language option - // This can happen if AudioLanguageList is empty or if no audio - // matches the users preferred languages in AudioLanguageList - if (hb_value_array_len(list) <= 0) + // If AudioLanguageList is empty, try "any" language option + if (count <= 0) { add_audio_for_lang(list, preset, title, mux, copy_mask, fallback, "any", behavior, mode, track_dict); |