Use wait_obj event for capture (video recording) so that the main loop wake up when needed
Merge branch 'future' of github.com:wallix/redemption into future