remove unnecessary double allocation
BUG= Review-Url: https://codereview.webrtc.org/2226933005 Cr-Commit-Position: refs/heads/master@{#13744}
This commit is contained in:
parent
0ccff57024
commit
3e3ebe6937
@ -414,7 +414,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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user