title: AVCaptureVideoDataOutput Resolution
body: <p>I am trying to specify output size to be 960x720 in video settings.  However, it doesn't seem to work.</p>
  
  <pre><code>self.videoDataOutput = AVCaptureVideoDataOutput()  
  if self.session.canAddOutput(self.videoDataOutput!) {  
      self.session.addOutput(videoDataOutput!)   
      self.videoDataOutput!.videoSettings = [kCVPixelBufferPixelFormatTypeKey: Int(kCVPixelFormatType_32BGRA),  
                                             kCVPixelBufferHeightKey: 960,  
                                             kCVPixelBufferWidthKey: 720] as [String : Any]  
  
  }  
  </code></pre>
  
  <p>Any other way to get the video data output in a custom lower resolution?</p>