]> git.sesse.net Git - vlc/commit
Process key action immediately, kill the hotkey thread
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 25 Jun 2009 19:44:29 +0000 (22:44 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 25 Jun 2009 19:44:29 +0000 (22:44 +0300)
commitd9361832b9580f8a24c4c9585a86ede02cbfa0a1
tree964567d0d2efbfbdea5fe7caca349f7f470df258
parent02c05f0082cee5f297ac010eeb143817de9baf26
Process key action immediately, kill the hotkey thread

This saves memory, diminishes latency and fixes an unlikely loss of
events if too many actions are sent. This may expose some re-entrancy
bugs, although I did some succesful smoke tests. Any path that emits a
key action or a key press needs to be careful. vout_thread_t.pf_manage
is the most obvious case. That should be safe as the vout thread holds
no locks when in pf_manage. Not sure about OpenGL though.

A small bug with SPU across vout change remains present as before.
modules/control/hotkeys.c