Adds video_hard_sync_frames.

Allows to control the maximum amount of frames that can be queued on
GPU.