diff options
author | wm4 <wm4@nowhere> | 2018-01-06 17:49:37 +0100 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2018-01-06 14:42:22 -0800 |
commit | 34cf655ddd99a67af0d1899499c14c4617236352 (patch) | |
tree | ee11205f2d8806474208e0d67f3c4af0ea6d5f01 /player/core.h | |
parent | cf8855cd2efb2828441dde19a713a34af20b4bc5 (diff) | |
download | mpv-34cf655ddd99a67af0d1899499c14c4617236352.tar.bz2 mpv-34cf655ddd99a67af0d1899499c14c4617236352.tar.xz |
player: strictly never autoselect tracks from --external-files
Before this commit, some autoselection of tracks coming from files
loaded with --external-files was still done. This commit removes all of
it, and the only way to select a track is via the explicit stream
selection options like --vid/--sid/--aid.
I think this was always the original intention. The change could in
theory still unintentionally surprise some users, so add a changelog
entry.
This does not affect --audio-file/--sub-file, even if these contain
mismatching track types. E.g. if audio files passed to --audio-file
contain subtitles, these should still be selected. Past feature requests
indicate that users want this.
Diffstat (limited to 'player/core.h')
-rw-r--r-- | player/core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/player/core.h b/player/core.h index cee1bf3bc2..041065e1f6 100644 --- a/player/core.h +++ b/player/core.h @@ -141,6 +141,7 @@ struct track { // If this track is from an external file (e.g. subtitle file). bool is_external; bool no_default; // pretend it's not external for auto-selection + bool no_auto_select; char *external_filename; bool auto_loaded; |