Fix OnFilePostOpenmedia() for capture mode.