Unified · Split
| @@ -79,6 +79,7 @@ Interface changes · 78 unmodified lines | |||
| 79 | - add `--gamut-mapping-mode=perceptual|relative|saturation|absolute|linear` | 79 | - add `--gamut-mapping-mode=perceptual|relative|saturation|absolute|linear` |
| 80 | - add `--corner-rounding` option | 80 | - add `--corner-rounding` option |
| 81 | - change `--subs-with-matching-audio` default from `yes` to `no` | 81 | - change `--subs-with-matching-audio` default from `yes` to `no` |
| 82 | - change `--slang` default from blank to `auto` | ||
| 82 | --- mpv 0.35.0 --- | 83 | --- mpv 0.35.0 --- |
| 83 | - add the `--vo=gpu-next` video output driver, as well as the options | 84 | - add the `--vo=gpu-next` video output driver, as well as the options |
| 84 | `--allow-delayed-peak-detect`, `--builtin-scalers`, | 85 | `--allow-delayed-peak-detect`, `--builtin-scalers`, |
| @@ -24,7 +24,7 @@ Track Selection · 23 unmodified lines | |||
| 24 | audio. | 24 | audio. |
| 25 | 25 | ||
| 26 | ``--slang=<languagecode[,languagecode,...]>`` | 26 | ``--slang=<languagecode[,languagecode,...]>`` |
| 27 | Equivalent to ``--alang``, for subtitle tracks. | 27 | Equivalent to ``--alang``, for subtitle tracks (default: auto). |
| 28 | 28 | ||
| 29 | This is a string list option. See `List Options`_ for details. | 29 | This is a string list option. See `List Options`_ for details. |
| 30 | 30 | ||
| @@ -1030,6 +1030,11 @@ static const struct MPOpts mp_default_opts = { · 1029 unmodified lines | |||
| 1030 | { [STREAM_AUDIO] = -2, | 1030 | { [STREAM_AUDIO] = -2, |
| 1031 | [STREAM_VIDEO] = -2, | 1031 | [STREAM_VIDEO] = -2, |
| 1032 | [STREAM_SUB] = -2, }, }, | 1032 | [STREAM_SUB] = -2, }, }, |
| 1033 | .stream_lang = { | ||
| 1034 | NULL, // video | ||
| 1035 | NULL, // audio | ||
| 1036 | (char**)(const char*[]) {"auto", NULL} // subtitles | ||
| 1037 | }, | ||
| 1033 | .stream_auto_sel = true, | 1038 | .stream_auto_sel = true, |
| 1034 | .subs_with_matching_audio = false, | 1039 | .subs_with_matching_audio = false, |
| 1035 | .audio_display = 1, | 1040 | .audio_display = 1, |