Index: webrtc/sdk/objc/Framework/UnitTests/objc_video_encoder_factory_tests.mm |
diff --git a/webrtc/sdk/objc/Framework/UnitTests/objc_video_encoder_factory_tests.mm b/webrtc/sdk/objc/Framework/UnitTests/objc_video_encoder_factory_tests.mm |
index d5941e7abee233d25a50ba71e612560d2042bd0f..ed29bc2658daeb09f19fcdf7f0e2fa92d085a6e5 100644 |
--- a/webrtc/sdk/objc/Framework/UnitTests/objc_video_encoder_factory_tests.mm |
+++ b/webrtc/sdk/objc/Framework/UnitTests/objc_video_encoder_factory_tests.mm |
@@ -32,8 +32,7 @@ id<RTCVideoEncoderFactory> CreateEncoderFactoryReturning(int return_code) { |
OCMStub([encoderMock setBitrate:0 framerate:0]).andReturn(return_code); |
id encoderFactoryMock = OCMProtocolMock(@protocol(RTCVideoEncoderFactory)); |
- RTCVideoCodecInfo *supported = |
- [[RTCVideoCodecInfo alloc] initWithPayload:0 name:@"H264" parameters:@{}]; |
+ RTCVideoCodecInfo *supported = [[RTCVideoCodecInfo alloc] initWithName:@"H264" parameters:nil]; |
OCMStub([encoderFactoryMock supportedCodecs]).andReturn(@[ supported ]); |
OCMStub([encoderFactoryMock createEncoder:[OCMArg any]]).andReturn(encoderMock); |
return encoderFactoryMock; |