Commit 34a265ac authored by JP Dinger's avatar JP Dinger

Skins2: Use var_SetVariant() some more.

parent da48f73f
......@@ -84,10 +84,7 @@ void CmdDvdRootMenu::execute()
if( p_input )
{
vlc_value_t val;
val.i_int = 2;
var_Set( p_input, "title 0", val);
var_SetInteger( p_input, "title 0", 2);
vlc_object_release( p_input );
}
}
......
......@@ -32,12 +32,7 @@ void StreamTime::set( float percentage, bool updateVLC )
// Avoid looping forever...
if( updateVLC && getIntf()->p_sys->p_input )
{
vlc_value_t pos;
pos.f_float = percentage;
var_Set( getIntf()->p_sys->p_input, "position", pos );
}
var_SetFloat( getIntf()->p_sys->p_input, "position", percentage );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment