VLC_UNUSED(vd);
vout_window_cfg_t cfg_override = *cfg;
- if( !config_GetInt( vout, "embedded-video" ) )
+ if( !var_InheritBool( vout, "embedded-video" ) )
cfg_override.is_standalone = true;
return vout_window_New(VLC_OBJECT(vout), NULL, &cfg_override);
{
assert( psz_title );
- if( !config_GetInt( p_vout, "osd" ) )
+ if( !var_InheritBool( p_vout, "osd" ) )
return;
vlc_mutex_lock( &p_vout->change_lock );
char *psz_string = NULL;
va_list args;
- if( !config_GetInt( p_caller, "osd" ) ) return;
+ if( !var_InheritBool( p_caller, "osd" ) ) return;
p_vout = vlc_object_find( p_caller, VLC_OBJECT_VOUT, FIND_ANYWHERE );
if( p_vout )
vout_thread_t *p_vout = vlc_object_find( p_caller, VLC_OBJECT_VOUT,
FIND_ANYWHERE );
- if( p_vout && ( config_GetInt( p_caller, "osd" ) && ( i_position >= 0 ) ) )
+ if( p_vout && ( var_InheritBool( p_caller, "osd" ) && ( i_position >= 0 ) ) )
{
osd_Slider( p_caller, p_vout->p_spu, p_vout->render.i_width,
p_vout->render.i_height, p_vout->fmt_in.i_x_offset,
if( !p_vout ) return;
- if( config_GetInt( p_caller, "osd" ) )
+ if( var_InheritBool( p_caller, "osd" ) )
{
osd_Icon( p_caller,
p_vout->p_spu,
p_sys->p_scale = NULL;
p_sys->p_scale_yuvp = NULL;
- p_sys->i_margin = config_GetInt( p_spu, "sub-margin" );
+ p_sys->i_margin = var_InheritInteger( p_spu, "sub-margin" );
/* Register the default subpicture channel */
p_sys->i_channel = 2;