[vlc-devel] vlc: svn commit r9828 (jpsaman)

Subversion daemon svn at videolan.org
Tue Jan 25 23:41:07 CET 2005


r9828 | jpsaman | 2005-01-25 23:41:07 +0100 (Tue, 25 Jan 2005) | 5 lines
Changed paths:
   M /branches/0.8.1-jpsaman-thedj/include/main.h
   M /branches/0.8.1-jpsaman-thedj/include/vlc_keys.h
   M /branches/0.8.1-jpsaman-thedj/modules/codec/dvbsub.c
   M /branches/0.8.1-jpsaman-thedj/modules/control/hotkeys.c
   M /branches/0.8.1-jpsaman-thedj/modules/control/rc.c
   M /branches/0.8.1-jpsaman-thedj/modules/stream_out/transcode.c
   M /branches/0.8.1-jpsaman-thedj/src/libvlc.h

Added key-jump-3sec and key-jump+3sec to the hotkeys. All jump-keys-* increase speed when they are pressed more then HOTKEY_PRESSED_THRESHOLD (currently 4) within a gracetime of 1 second. If keys are pressed less often then HOTKEY_PRESSED_THRESHOLD within 1 seconds then the key is ignored. This scheme is divised to let a user at least see a bit of movie when jumping forwards or backward through the movie. Example:
- user presses 1 time fastforward within 1 second -> fastforward is performed
- user presses 3 times fastforward within 1 second -> fastforward action is ignored
- user presses 5 times fastforward within 1 second -> fastforward acceleration is performed. Rationale: the user wants to go really fast.

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list