Index: webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm |
diff --git a/webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm b/webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm |
index 51003cad4113dc5a01c3aa4dff07a872303b6381..763269bf3301b569e01bf8f0db113ecb9df4edcf 100644 |
--- a/webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm |
+++ b/webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm |
@@ -407,7 +407,6 @@ static cricket::VideoFormat const kIPhone4SFormat = |
// currently supported on iPhone / iPad. |
AVCaptureVideoDataOutput *videoDataOutput = |
[[AVCaptureVideoDataOutput alloc] init]; |
- videoDataOutput = [[AVCaptureVideoDataOutput alloc] init]; |
videoDataOutput.videoSettings = @{ |
(NSString *)kCVPixelBufferPixelFormatTypeKey : |
@(kCVPixelFormatType_420YpCbCr8BiPlanarFullRange) |