[vlc-devel] commit: Convert "rate" variable to float everywhere ( Rémi Denis-Courmont )
git version control
git at videolan.org
Mon Nov 23 18:04:25 CET 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Nov 23 18:44:52 2009 +0200| [e87dd9f0fd57a2eeef76225d4a35065c0db1849b] | committer: Rémi Denis-Courmont
Convert "rate" variable to float everywhere
This follows the historical LibVLC semantic (and new --rate one), so
bigger is faster. In the process, simplify a few code paths, especially
those in LibVLC, but make many other code paths more complicated due to
integer<->float conversion. Most of those paths could probably be
simplified.
* Fix RC "fastforward" command behaviour (it was slowing down instead)
* Fix str_format_mera 'R' format string with negative rates and
rates such that (rate % 1000 < 100).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e87dd9f0fd57a2eeef76225d4a35065c0db1849b
---
include/vlc_input.h | 14 ++++++++------
modules/control/hotkeys.c | 15 +++++++++------
modules/control/rc.c | 16 ++++++++--------
modules/gui/beos/InterfaceWindow.cpp | 20 ++++++++++----------
modules/gui/qt4/input_manager.cpp | 11 ++++++-----
modules/gui/wince/timer.cpp | 2 +-
share/lua/intf/rc.lua | 2 +-
src/control/media_player.c | 11 ++++++-----
src/input/control.c | 5 +++--
src/input/event.c | 6 +++---
src/input/var.c | 5 +++--
src/input/vlm.c | 3 ++-
src/input/vlmshell.c | 2 +-
src/text/strings.c | 4 ++--
14 files changed, 63 insertions(+), 53 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=e87dd9f0fd57a2eeef76225d4a35065c0db1849b
More information about the vlc-devel
mailing list