lib: simplify and speed up event delivery
lib: simplify and speed up event delivery

shyamalschandra/vlc,xkfz007/vlc,shyamalschandra/vlc,shyamalschandra/vlc,xkfz007/vlc,vlc-mirror/vlc,vlc-mirror/vlc,vlc-mirror/vlc,xkfz007/vlc,vlc-mirror/vlc,shyamalschandra/vlc,vlc-mirror/vlc,shyamalschandra/vlc,xkfz007/vlc,vlc-mirror/vlc,vlc-mirror/vlc,xkfz007/vlc,shyamalschandra/vlc,xkfz007/vlc,shyamalschandra/vlc,xkfz007/vlc