Add VLC_VAR_GET{MIN,MAX,STEP} commands. Make it possible to use VLC_VAR_INHERITVALUE...
authorAntoine Cellerier <dionoea@videolan.org>
Sat, 8 Dec 2007 16:53:56 +0000 (16:53 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Sat, 8 Dec 2007 16:53:56 +0000 (16:53 +0000)
commit02752dc7806ae5385f868faada5718e89aa76add
treee1e158f59769fd9b432655f812e67385d2c9219c
parent16e5f0776759382453554db622a4df933de72d3c
Add VLC_VAR_GET{MIN,MAX,STEP} commands. Make it possible to use VLC_VAR_INHERITVALUE with a 2nd argument which will be used as the variable name to inherit (for example you want to inherit a variable named "v4l2-hue" into a variable named "hue": vlc_value_t val; val.psz_string = strdup( "v4l2-hue" ); var_Change( p_demux, "hue", VLC_VAR_INHERITVALUE, NULL, &val ); free( val.psz_string ); )
include/vlc_variables.h
src/misc/variables.c