Ensure that exactly one frame is output per frame.

Fixes sample rate with 60 fps.