[vlc-devel] [PATCH] input: set OSD message when changing rate via hotkeys to display the current rate (v2)

Casian Andrei skeletk13 at gmail.com
Tue Mar 23 18:45:26 CET 2010

Minor modifications in /modules/control/hotkeys.c to use the same function
to display the rate with OSD.

Moved the implementation of INPUT_CONTROL_SET_RATE_FASTER/SLOWER from
/src/input/input.c to /src/input/var.c, and the math is done with floats
instead of ints (seems simpler).

The rate is changed directly in RateCallback(), not with
input_ControlPush(), similar to how it's done in PositionCallback() with

Hopefully I haven't screwed up the code style again.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100323/cd4bcc39/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-input-set-OSD-message-when-changing-rate-via-hotkeys.patch
Type: text/x-patch
Size: 10559 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100323/cd4bcc39/attachment.bin>

More information about the vlc-devel mailing list