Commit 9800a265 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

input/input_internal.h: Send variables callback on state changes.

parent 2b679297
......@@ -309,9 +309,7 @@ void MRLSplit( vlc_object_t *, char *, const char **, const char **, char ** );
static inline void input_ChangeState( input_thread_t *p_input, int state )
{
vlc_value_t val;
val.i_int = p_input->i_state = state;
var_Change( p_input, "state", VLC_VAR_SETVALUE, &val, NULL );
var_SetInteger( p_input, "state", p_input->i_state = state );
}
/* Access */
......
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