Commit 870ca60a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

hotkeys: print volume also in fullscreen and fix reference value

(Do not assume that AOUT_VOLUME_MAX is 4 times AOUT_VOLUME_DEFAULT.)
parent fa91d584
......@@ -1035,11 +1035,8 @@ static void DisplayVolume( intf_thread_t *p_intf, vout_thread_t *p_vout,
vout_OSDSlider( p_vout, VOLUME_WIDGET_CHAN,
i_vol*100/AOUT_VOLUME_MAX, OSD_VERT_SLIDER );
}
else
{
DisplayMessage( p_vout, VOLUME_TEXT_CHAN, _( "Volume %d%%" ),
i_vol*400/AOUT_VOLUME_MAX );
}
i_vol*100/AOUT_VOLUME_DEFAULT );
}
static void DisplayRate( vout_thread_t *p_vout, float f_rate )
......
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