Commit 6f972eb3 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix pause not pausing.

Patch by Rov Juvano. thanks.
parent ea207287
...@@ -392,7 +392,7 @@ static inline void input_ChangeStateWithVarCallback( input_thread_t *p_input, in ...@@ -392,7 +392,7 @@ static inline void input_ChangeStateWithVarCallback( input_thread_t *p_input, in
else else
{ {
vlc_value_t val; vlc_value_t val;
val.i_int = PLAYING_S; p_input->i_state = val.i_int = state;
var_Change( p_input, "state", VLC_VAR_SETVALUE, &val, NULL ); var_Change( p_input, "state", VLC_VAR_SETVALUE, &val, NULL );
} }
if( changed ) if( changed )
......
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