Do not start writing audio frames until at least one video frame has been written. Fixes an issue where first video frame in the movie is occasionally blank
Useless checking
Merge pull request #1513 from telly/empty-frame-fix

Avoid writing audio frames until at least one video frame has been written. This prevents "black" frames at the beginning of the result movie file.