Avoid writing audio frames until at least one video frame has been written.

...n written. Fixes an issue where first video frame in the movie is occasionally blank