From 5e9dfe932f8319c89cff0e0d93a2d3fe723b0429 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 4 Nov 2014 18:53:36 +0100 Subject: player: fix --secondary-sid Use the "default" selection for the ff-index, not the "no" selection. Broken by commit f0f83ff. Fixes #1243. --- player/loadfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- cgit v1.2.3