diff options
author | rcombs <rcombs@rcombs.me> | 2020-06-22 15:08:42 -0500 |
---|---|---|
committer | rcombs <rcombs@rcombs.me> | 2020-08-19 23:44:54 -0500 |
commit | c9474dc9ed6172a5f17f66f4b7d367da6b077909 (patch) | |
tree | 7992ffd7e3b5049415951d8392f206592cb162c0 /options/options.h | |
parent | db0f9fab67af4776ec82dd491413fe642fb2670a (diff) | |
download | mpv-c9474dc9ed6172a5f17f66f4b7d367da6b077909.tar.bz2 mpv-c9474dc9ed6172a5f17f66f4b7d367da6b077909.tar.xz |
player: add --subs-with-matching-audio option
This allows users to control whether full dialogue subtitles are displayed
with an audio track already in their preferred subtitle language.
Additionally, this improves handling for the forced flag, automatically
selecting between forced and unforced subtitle streams based on the user's
settings and the selected audio.
Diffstat (limited to 'options/options.h')
-rw-r--r-- | options/options.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/options/options.h b/options/options.h index 00b58dfbff..62eef010d7 100644 --- a/options/options.h +++ b/options/options.h @@ -73,6 +73,7 @@ struct mp_subtitle_opts { float sub_fps; float sub_speed; int forced_subs_only; + int forced_subs_only_current; int stretch_dvd_subs; int stretch_image_subs; int image_subs_video_res; @@ -252,6 +253,7 @@ typedef struct MPOpts { int stream_id[2][STREAM_TYPE_COUNT]; char **stream_lang[STREAM_TYPE_COUNT]; int stream_auto_sel; + int subs_with_matching_audio; int audio_display; char **display_tags; |