]> git.sesse.net Git - vlc/commit
Convert "rate" variable to float everywhere
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 23 Nov 2009 16:44:52 +0000 (18:44 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 23 Nov 2009 17:03:11 +0000 (19:03 +0200)
commite87dd9f0fd57a2eeef76225d4a35065c0db1849b
tree35c44c94ed346e4c2f39c2d6977fd04a904fd08c
parentd2a714c1e4f5337e9d602dc7e81f875fc29e0305
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).
14 files changed:
include/vlc_input.h
modules/control/hotkeys.c
modules/control/rc.c
modules/gui/beos/InterfaceWindow.cpp
modules/gui/qt4/input_manager.cpp
modules/gui/wince/timer.cpp
share/lua/intf/rc.lua
src/control/media_player.c
src/input/control.c
src/input/event.c
src/input/var.c
src/input/vlm.c
src/input/vlmshell.c
src/text/strings.c