fix a bug for video file auto rotation.