Commit 07d3ca8d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

hotkeys: stick to single precision

parent 81af7a35
...@@ -356,9 +356,9 @@ static int PutAction( intf_thread_t *p_intf, int i_action ) ...@@ -356,9 +356,9 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
break; break;
case ACTIONID_PLAY: case ACTIONID_PLAY:
if( p_input && var_GetFloat( p_input, "rate" ) != 1. ) if( p_input && var_GetFloat( p_input, "rate" ) != 1.f )
/* Return to normal speed */ /* Return to normal speed */
var_SetFloat( p_input, "rate", 1. ); var_SetFloat( p_input, "rate", 1.f );
else else
{ {
ClearChannels( p_intf, p_vout ); ClearChannels( p_intf, p_vout );
...@@ -1225,7 +1225,7 @@ static void DisplayVolume( intf_thread_t *p_intf, vout_thread_t *p_vout, ...@@ -1225,7 +1225,7 @@ static void DisplayVolume( intf_thread_t *p_intf, vout_thread_t *p_vout,
static void DisplayRate( vout_thread_t *p_vout, float f_rate ) static void DisplayRate( vout_thread_t *p_vout, float f_rate )
{ {
DisplayMessage( p_vout, _("Speed: %.2fx"), f_rate ); DisplayMessage( p_vout, _("Speed: %.2fx"), (double) f_rate );
} }
static float AdjustRateFine( vlc_object_t *p_obj, const int i_dir ) static float AdjustRateFine( vlc_object_t *p_obj, const int i_dir )
......
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