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-05 16:15:30 +0100
commit365cc79d942f9ecd06a77bcf29652ba581e33785 (patch)
tree2dfdf57ff9cdeff29b3c02b4ed0c609f9c12f542 /player/core.h
parent8a130e08e2d3b3fbdfd61e1e491addb5d606394b (diff)
downloadmpv-365cc79d942f9ecd06a77bcf29652ba581e33785.tar.bz2
mpv-365cc79d942f9ecd06a77bcf29652ba581e33785.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;