[MPlayer-cvslog] r21036 - trunk/mplayer.c
nicodvb
subversion at mplayerhq.hu
Sat Nov 18 19:23:38 CET 2006
Author: nicodvb
Date: Sat Nov 18 19:23:38 2006
New Revision: 21036
Modified:
trunk/mplayer.c
Log:
switch_audio and switch_video properties should be in the range -2..MAX_x_STREAMS-1
Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c (original)
+++ trunk/mplayer.c Sat Nov 18 19:23:38 2006
@@ -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 },
More information about the MPlayer-cvslog
mailing list