Commit a8cd6960 authored by Damien Fouilleul's avatar Damien Fouilleul

input.c: fixed state (broke pause)

parent 199f4a0e
...@@ -159,7 +159,7 @@ void MRLSplit( vlc_object_t *, char *, char **, char **, char ** ); ...@@ -159,7 +159,7 @@ void MRLSplit( vlc_object_t *, char *, char **, char **, char ** );
static inline void input_ChangeState( input_thread_t *p_input, int state ) static inline void input_ChangeState( input_thread_t *p_input, int state )
{ {
vlc_value_t val; vlc_value_t val;
val.i_int = state; val.i_int = p_input->i_state = state;
var_Change( p_input, "state", VLC_VAR_SETVALUE, &val, NULL ); var_Change( p_input, "state", VLC_VAR_SETVALUE, &val, NULL );
} }
......
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