• gbazin's avatar
    · 4684a91e
    gbazin authored
    * include/variables.h, src/misc/variables.c: you can now use var_Create() directly to create an object variable with an inherited value.
       eg. var_Create( p_vout, "zoom", VLC_VAR_FLOAT | VLC_VAR_DOINHERIT );
       Beware, the object in which you create the var must be attached to a parent for this to work (otherwise we can't navigate the parents hierarchy to find the value to inherit).
    
    * src/input/input.c, src/input/input_programs.c, src/video_output/video_output.c: converted more config_GetFoo() into var_Create()/var_Get();
    4684a91e
input.c 23 KB