[vlc-devel] CVS Commit (gbazin)

cvs at videolan.org cvs at videolan.org
Sat Dec 7 16:25:27 CET 2002


Update of /var/cvs/videolan/vlc/include
Modified Files:
	variables.h 

Update of /var/cvs/videolan/vlc/modules/audio_output
Modified Files:
	oss.c sdl.c 

Update of /var/cvs/videolan/vlc/modules/control/rc
Modified Files:
	rc.c 

Update of /var/cvs/videolan/vlc/modules/misc/testsuite
Modified Files:
	test4.c 

Update of /var/cvs/videolan/vlc/src/audio_output
Modified Files:
	output.c 

Update of /var/cvs/videolan/vlc/src/misc
Modified Files:
	objects.c variables.c 

Log Message:

* ALL: a few updates to the variables API:
  - got rid of the VLC_VAR_COMMAND variable type and introduced the VLC_VAR_ISCOMMAND flag 
instead. This simplifies things and avoid the strange command variables behaviour. Command 
variables will now trigger their callback on var_Set() like any other variables (look in 
modules/control/rc/rc.c for an example).
  - Renamed the VLC_VAR_ISLIST flag into VLC_VAR_HASCHOICE.
  - Added a new VLC_VAR_VOID variable type. This can be useful in conjunction with 
VLC_VAR_ISCOMMAND for instance.

-- 
gbazin
-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list