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.
Showing
Please register or sign in to comment