fix for AFVideoWriter in 10.8