summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-25 11:24:37 +0100
committerwm4 <wm4@nowhere>2013-12-25 11:32:29 +0100
commitf7516094500c543349fde0498c41bfcc72f21d2c (patch)
tree4dc354a22652547a8573bd45218fd43ec387e8d1 /options
parent3720b3f17d4951ab839418b5cbfd1a85eb74adba (diff)
downloadmpv-f7516094500c543349fde0498c41bfcc72f21d2c.tar.bz2
mpv-f7516094500c543349fde0498c41bfcc72f21d2c.tar.xz
player: fix initial selection with --secondary-sid
Also, make sure that a track can't be selected twice. While this might work in some situations, it certainly won't work with subtitles demuxed from a stream. Fixes #425.
Diffstat (limited to 'options')
-rw-r--r--options/options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index 5693a34cd0..7f98149369 100644
--- a/options/options.c
+++ b/options/options.c
@@ -709,6 +709,7 @@ const struct MPOpts mp_default_opts = {
.audio_id = -1,
.video_id = -1,
.sub_id = -1,
+ .sub2_id = -2,
.audio_display = 1,
.sub_visibility = 1,
.sub_pos = 100,