[vlc-commits] commit: Fixed fine rate modifications in hotkeys. (Laurent Aimar )
git at videolan.org
git at videolan.org
Fri Mar 26 01:47:28 CET 2010
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Fri Mar 26 01:23:24 2010 +0100| [1c9264854ddb0f16a06721193c4047ac2100dd39] | committer: Laurent Aimar
Fixed fine rate modifications in hotkeys.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1c9264854ddb0f16a06721193c4047ac2100dd39
---
modules/control/hotkeys.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index b00cb7b..c11b2cd 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -1059,7 +1059,7 @@ static float AdjustRateFine( input_thread_t *p_input, const int i_dir )
int i_sign = f_rate < 0 ? -1 : 1;
- f_rate = floor( fabs(f_rate) / 0.1 + i_dir ) * 0.1;
+ f_rate = floor( fabs(f_rate) / 0.1 + i_dir + 0.05 ) * 0.1;
if( f_rate < f_rate_min )
f_rate = f_rate_min;
More information about the vlc-commits
mailing list