diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-04-28 14:43:19 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-04-28 14:43:19 +0000 |
commit | be54f4813fdc9f5714f3b010a46b962d37e27b2b (patch) | |
tree | ac769f2d59029f42db18c8a24a7175465a944e26 /input | |
parent | 68f4daf93b9921a1614fe9bfd349af20a3f5b63d (diff) | |
download | mpv-be54f4813fdc9f5714f3b010a46b962d37e27b2b.tar.bz2 mpv-be54f4813fdc9f5714f3b010a46b962d37e27b2b.tar.xz |
adds a parameter to the switch_audio command to directly select a track.
Patch by kiriuja mplayer-patches at en-directo net
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15286 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input')
-rw-r--r-- | input/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/input/input.c b/input/input.c index 1427a0cfb0..8cdf552432 100644 --- a/input/input.c +++ b/input/input.c @@ -82,7 +82,7 @@ static mp_cmd_t mp_cmds[] = { { MP_CMD_SUB_LOG, "sub_log", 0, { {-1,{0}} } }, { MP_CMD_GET_PERCENT_POS, "get_percent_pos", 0, { {-1,{0}} } }, { MP_CMD_GET_TIME_LENGTH, "get_time_length", 0, { {-1,{0}} } }, - { MP_CMD_SWITCH_AUDIO, "switch_audio", 0, { {-1,{0}} } }, + { MP_CMD_SWITCH_AUDIO, "switch_audio", 0, { { MP_CMD_ARG_INT,{-1} }, {-1,{0}} } }, #ifdef USE_TV { MP_CMD_TV_STEP_CHANNEL, "tv_step_channel", 1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} }}, { MP_CMD_TV_STEP_NORM, "tv_step_norm",0, { {-1,{0}} } }, |