fixed odd bug in video record image writer