Skip to content

Commit

Permalink
libvlc/media_player: don't truncate buffering decimals
Browse files Browse the repository at this point in the history
  • Loading branch information
tguillem committed Oct 6, 2016
1 parent 365a049 commit 5be7804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/media_player.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}
Expand Down

0 comments on commit 5be7804

Please sign in to comment.