Index: webrtc/sdk/android/instrumentationtests/src/org/webrtc/HardwareVideoDecoderTest.java |
diff --git a/webrtc/sdk/android/instrumentationtests/src/org/webrtc/HardwareVideoDecoderTest.java b/webrtc/sdk/android/instrumentationtests/src/org/webrtc/HardwareVideoDecoderTest.java |
index 59dbc87113060a1cfecee047e73b31d1b94d5e7d..38d10e198ff6e6bc27927559c0a842a7213c73d4 100644 |
--- a/webrtc/sdk/android/instrumentationtests/src/org/webrtc/HardwareVideoDecoderTest.java |
+++ b/webrtc/sdk/android/instrumentationtests/src/org/webrtc/HardwareVideoDecoderTest.java |
@@ -116,9 +116,9 @@ public final class HardwareVideoDecoderTest { |
encodeDone.countDown(); |
} |
}; |
- assertEquals( |
- encoder.initEncode( |
- new VideoEncoder.Settings(1, SETTINGS.width, SETTINGS.height, 300, 30), encodeCallback), |
+ assertEquals(encoder.initEncode(new VideoEncoder.Settings(1, SETTINGS.width, SETTINGS.height, |
+ 300, 30, true /* automaticResizeOn */), |
+ encodeCallback), |
VideoCodecStatus.OK); |
// First, encode a frame. |
@@ -191,9 +191,9 @@ public final class HardwareVideoDecoderTest { |
encodeDone.countDown(); |
} |
}; |
- assertEquals( |
- encoder.initEncode( |
- new VideoEncoder.Settings(1, SETTINGS.width, SETTINGS.height, 300, 30), encodeCallback), |
+ assertEquals(encoder.initEncode(new VideoEncoder.Settings(1, SETTINGS.width, SETTINGS.height, |
+ 300, 30, true /* automaticResizeOn */), |
+ encodeCallback), |
VideoCodecStatus.OK); |
// First, encode a frame. |