Commit cd8bde84 authored by Jean-Paul Saman's avatar Jean-Paul Saman

dbus: fix regression introduced in 33132b6f

parent b265eaa9
......@@ -2094,9 +2094,9 @@ static int UpdateCaps( intf_thread_t* p_intf )
i_caps |= CAPS_CAN_PAUSE;
if( var_GetBool( p_input, "can-seek" ) )
i_caps |= CAPS_CAN_SEEK;
if( var_GetInteger( p_input, "can-rate" ) )
if( var_GetBool( p_input, "can-rate" ) )
i_caps |= CAPS_CAN_CONTROL_RATE;
if( var_GetInteger( p_input, "can-rewind" ) )
if( var_GetBool( p_input, "can-rewind" ) )
i_caps |= CAPS_CAN_CONTROL_REWIND;
if( var_CountChoices( p_input, "spu-es" ) > 0 )
i_caps |= CAPS_CAN_CONTROL_SUBTITLES;
......
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