Mercurial > mplayer.hg
changeset 21020:2ec157c79f2f
switch_audio and switch_video properties should be in the range -2..MAX_x_STREAMS-1
author | nicodvb |
---|---|
date | Sat, 18 Nov 2006 18:23:38 +0000 |
parents | 948345ce82d7 |
children | bc0afb5afa98 |
files | mplayer.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mplayer.c Sat Nov 18 17:32:22 2006 +0000 +++ b/mplayer.c Sat Nov 18 18:23:38 2006 +0000 @@ -2519,7 +2519,7 @@ { "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 @@ { "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 },