| Index: talk/app/webrtc/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java
|
| diff --git a/talk/app/webrtc/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java b/talk/app/webrtc/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java
|
| index 73ed381ad9ce65a2060eb5f3be8dea6ba88be098..0fe827d1f9c658151dd05cb10edf0106e218700d 100644
|
| --- a/talk/app/webrtc/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java
|
| +++ b/talk/app/webrtc/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java
|
| @@ -35,7 +35,6 @@
|
| import org.webrtc.CameraEnumerationAndroid.CaptureFormat;
|
| import org.webrtc.VideoRenderer.I420Frame;
|
|
|
| -import java.nio.ByteBuffer;
|
| import java.util.ArrayList;
|
| import java.util.HashSet;
|
| import java.util.List;
|
| @@ -105,11 +104,11 @@
|
| }
|
|
|
| @Override
|
| - public void OnFrameCaptured(ByteBuffer frame, int width, int height,
|
| + public void OnFrameCaptured(byte[] frame, int length, int width, int height,
|
| int rotation, long timeStamp) {
|
| synchronized (frameLock) {
|
| ++framesCaptured;
|
| - frameSize = frame.capacity();
|
| + frameSize = length;
|
| timestamps.add(timeStamp);
|
| frameLock.notify();
|
| }
|
|
|