summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-01-05 16:15:30 +0100
committerwm4 <wm4@nowhere>2014-01-06 20:22:53 +0100
commitc497b82583fea5350c0e306aee033742dfbee384 (patch)
tree916bb0067566ed2b6f04e6704f40a1459122145c /player/core.h
parent6f5dfb5102a14024bcd76036a1d953214288085d (diff)
downloadmpv-c497b82583fea5350c0e306aee033742dfbee384.tar.bz2
mpv-c497b82583fea5350c0e306aee033742dfbee384.tar.xz
player: don't select subtitles added from quvi by default
Quvi subtitles are considered external subtitles (simply because they're separate from the audio/video stream), but for the sake of subtitle auto-selection, they should not be considered external. Change this so that quvi subtitles are treated like muxed subtitles (with default flag never set). This means subtitles won't be selected by default, unless explicitly requested with --sid or --slang.
Diffstat (limited to 'player/core.h')
-rw-r--r--player/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/core.h b/player/core.h
index c016dcf4f7..3285e4848d 100644
--- a/player/core.h
+++ b/player/core.h
@@ -128,6 +128,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
char *external_filename;
bool auto_loaded;