diff options
author | wm4 <wm4@nowhere> | 2014-11-04 18:53:36 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-04 18:53:36 +0100 |
commit | 5e9dfe932f8319c89cff0e0d93a2d3fe723b0429 (patch) | |
tree | 9129e07c8834ab5a2072dc4fb7580df10a3ba8a0 /player | |
parent | bebfaae66614e2ccc2b35e4190cd4cee058a4b99 (diff) | |
download | mpv-5e9dfe932f8319c89cff0e0d93a2d3fe723b0429.tar.bz2 mpv-5e9dfe932f8319c89cff0e0d93a2d3fe723b0429.tar.xz |
player: fix --secondary-sid
Use the "default" selection for the ff-index, not the "no" selection.
Broken by commit f0f83ff.
Fixes #1243.
Diffstat (limited to 'player')
-rw-r--r-- | player/loadfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/loadfile.c b/player/loadfile.c index efca08519c..1521b00997 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -1051,7 +1051,7 @@ goto_reopen_demuxer: ; select_track(mpctx, STREAM_SUB, opts->sub_id, opts->sub_id_ff, opts->sub_lang); mpctx->current_track[1][STREAM_SUB] = - select_track(mpctx, STREAM_SUB, opts->sub2_id, -2, NULL); + select_track(mpctx, STREAM_SUB, opts->sub2_id, -1, NULL); for (int t = 0; t < STREAM_TYPE_COUNT; t++) { for (int i = 0; i < NUM_PTRACKS; i++) { struct track *track = mpctx->current_track[i][t]; |