]> git.sesse.net Git - vlc/commit
input: Add an event manager to the input.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 14 Jun 2008 11:21:10 +0000 (13:21 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 14 Jun 2008 11:21:10 +0000 (13:21 +0200)
commitacb1a3ac0c092b5d8d58ef23e629de8ebf26b95a
tree5d2daf2075029114120a2d9312edb62b7a6bdde3
parenta779588f7212b9d6f34b61dfcb457b31d0153f3a
input: Add an event manager to the input.

Currently libvlc uses "state" callback to notice input state changes, and the playlist notice input state change via direct call from the input.
playlist can't use the "state" variable as it is also used by the playlist to ask the input to do a certain action.

The event approach is much more clear here.
src/input/input.c
src/input/input_internal.h