Commit 5be7804a authored by Thomas Guillem's avatar Thomas Guillem

libvlc/media_player: don't truncate buffering decimals

parent 365a0496
......@@ -376,7 +376,7 @@ input_event_changed( vlc_object_t * p_this, char const * psz_cmd,
else if( newval.i_int == INPUT_EVENT_CACHE )
{
event.type = libvlc_MediaPlayerBuffering;
event.u.media_player_buffering.new_cache = (int)(100 *
event.u.media_player_buffering.new_cache = (100 *
var_GetFloat( p_input, "cache" ));
libvlc_event_send( p_mi->p_event_manager, &event );
}
......
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