]> git.sesse.net Git - vlc/commitdiff
"state" is an integer, not a boolean (since vlc_bool_t is an int, that only makes...
authorRafaël Carré <funman@videolan.org>
Thu, 17 Jan 2008 12:28:21 +0000 (12:28 +0000)
committerRafaël Carré <funman@videolan.org>
Thu, 17 Jan 2008 12:28:21 +0000 (12:28 +0000)
src/control/media_instance.c

index a4fd6f10646c0078b746f5c35f3de863b2d40db7..e9b7478a13aa1c0287b078a14abb1c03531ef16c 100644 (file)
@@ -153,7 +153,7 @@ input_state_changed( vlc_object_t * p_this, char const * psz_cmd,
     libvlc_event_type_t type = newval.i_int;
 
     if( strcmp( psz_cmd, "state" ) )
-        type = var_GetBool( p_this, "state" );
+        type = var_GetInteger( p_this, "state" );
 
     switch ( type )
     {