]> git.sesse.net Git - vlc/commit
Remove FORWARD_S and BACKWARD_S from input state.
authorJean-Paul Saman <jean-paul.saman@m2x.nl>
Thu, 20 Nov 2008 13:33:37 +0000 (14:33 +0100)
committerJean-Paul Saman <jean-paul.saman@m2x.nl>
Thu, 20 Nov 2008 15:17:45 +0000 (16:17 +0100)
commit57dda7ffd68f3d4052ea403d9536eb8f817ac30b
treeae4505c951ec6c65e7c498fe2e5d16d7448a4c25
parent75adef44b044b9b81e593e74db857d6b2a7e4eaa
Remove FORWARD_S and BACKWARD_S from input state.

The input core does separate playing states for forward or backward direction from the playing state PLAYING_S. If one wants to know in what direction VLC is playing, then he needs to look at the sign value of the "rate" value. Backward playing direction has a negative "rate" value. Forward playing direction has a positive one.
bindings/python/vlc_module.c
include/vlc/libvlc.h
include/vlc/libvlc_structures.h
include/vlc/mediacontrol_structures.h
include/vlc_input.h
modules/control/rc.c
src/control/media_player.c