summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-24 17:46:08 +0100
committerwm4 <wm4@nowhere>2013-12-24 17:46:08 +0100
commit9292f537d661af16321fd35eb0016e830594863b (patch)
tree452a7e854860c50a15e5893c4602430ef42076a6 /player/command.c
parent2b87415f6f38e93358b9d3034dcf5af6a70f43cc (diff)
downloadmpv-9292f537d661af16321fd35eb0016e830594863b.tar.bz2
mpv-9292f537d661af16321fd35eb0016e830594863b.tar.xz
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.
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c2
1 files changed, 1 insertions, 1 deletions
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: