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/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player/command.c') diff --git a/player/command.c b/player/command.c index a3da05a5c7..3d15d96676 100644 --- a/player/command.c +++ b/player/command.c @@ -1009,7 +1009,7 @@ static int property_switch_track(m_option_t *prop, int action, void *arg, { if (!mpctx->num_sources) return M_PROPERTY_UNAVAILABLE; - struct track *track = mpctx->current_track[type]; + struct track *track = mpctx->current_track[0][type]; switch (action) { case M_PROPERTY_GET: -- cgit v1.2.3