Commit 0392f8be authored by Jean-Paul Saman's avatar Jean-Paul Saman

check against libvlc_state_t states

parent 9d926a9e
......@@ -1192,7 +1192,7 @@ libvlc_state_t libvlc_media_player_get_state(
var_Get( p_input_thread, "state", &val );
state = vlc_to_libvlc_state(val.i_int);
if( state == PLAYING_S )
if( state == libvlc_Playing )
{
float caching;
caching = var_GetFloat( p_input_thread, "cache" );
......
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