[vlc-devel] commit: Fix pause not pausing. (Jean-Baptiste Kempf )

git version control git at videolan.org
Sat Jun 21 03:47:39 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jun 20 18:49:54 2008 -0700| [6f972eb30bc81a06ff106d01a71810ca97bfcdfa]

Fix pause not pausing.

Patch by Rov Juvano. thanks.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6f972eb30bc81a06ff106d01a71810ca97bfcdfa
---

 src/input/input_internal.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/input/input_internal.h b/src/input/input_internal.h
index 42f06de..8b9401f 100644
--- a/src/input/input_internal.h
+++ b/src/input/input_internal.h
@@ -392,7 +392,7 @@ static inline void input_ChangeStateWithVarCallback( input_thread_t *p_input, in
     else
     {
         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 );
     }
     if( changed )




More information about the vlc-devel mailing list