Make VLC event handling a member function