summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mplayer.c b/mplayer.c
index 393a64b690..e65195c236 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -2519,7 +2519,7 @@ static m_option_t mp_properties[] = {
{ "channels", mp_property_channels, CONF_TYPE_INT,
0, 0, 0, NULL },
{ "switch_audio", mp_property_audio, CONF_TYPE_INT,
- -1, -1, 0, NULL },
+ CONF_RANGE, -2, MAX_A_STREAMS-1, NULL },
// Video
{ "fullscreen", mp_property_fullscreen, CONF_TYPE_FLAG,
@@ -2561,7 +2561,7 @@ static m_option_t mp_properties[] = {
{ "aspect", mp_property_aspect, CONF_TYPE_FLOAT,
0, 0, 0, NULL },
{ "switch_video", mp_property_video, CONF_TYPE_INT,
- -1, -1, 0, NULL },
+ CONF_RANGE, -2, MAX_V_STREAMS-1, NULL },
{ "switch_program", mp_property_program, CONF_TYPE_INT,
CONF_RANGE, -1, 65535, NULL },