From 9292f537d661af16321fd35eb0016e830594863b Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 24 Dec 2013 17:46:08 +0100 Subject: player: add infrastructure to select multiple tracks at once Of course this does not allow decoding multiple tracks at once; it just adds some minor infrastructure, which could be used to achieve this. --- player/audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player/audio.c') diff --git a/player/audio.c b/player/audio.c index 69fcb1d38e..79d064940b 100644 --- a/player/audio.c +++ b/player/audio.c @@ -104,7 +104,7 @@ int reinit_audio_filters(struct MPContext *mpctx) void reinit_audio_chain(struct MPContext *mpctx) { struct MPOpts *opts = mpctx->opts; - struct track *track = mpctx->current_track[STREAM_AUDIO]; + struct track *track = mpctx->current_track[0][STREAM_AUDIO]; struct sh_stream *sh = init_demux_stream(mpctx, track); if (!sh) { uninit_player(mpctx, INITIALIZED_AO); -- cgit v1.2.3