| 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 dfa7c0a298950f74edbfe9b8954e028e39eb1434..1b97201a0aa65e1a8a2231bbbc30ebfaf80ca4f2 100644
|
| --- a/talk/app/webrtc/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java
|
| +++ b/talk/app/webrtc/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java
|
| @@ -308,12 +308,15 @@ public class VideoCapturerAndroidTest extends ActivityTestCase {
|
| @MediumTest
|
| // This test that CameraEventsHandler.onError is triggered if video buffers are not returned to
|
| // the capturer.
|
| - public void testCameraFreezedEventOnBufferStarvation() throws InterruptedException {
|
| + public void testCameraFreezedEventOnBufferStarvationUsingTextures() throws InterruptedException {
|
| + EglBase eglBase = EglBase.create();
|
| VideoCapturerAndroidTestFixtures.CameraEvents cameraEvents =
|
| VideoCapturerAndroidTestFixtures.createCameraEvents();
|
| - VideoCapturerAndroid capturer = VideoCapturerAndroid.create("", cameraEvents);
|
| - VideoCapturerAndroidTestFixtures.cameraFreezedEventOnBufferStarvation(capturer,
|
| + VideoCapturerAndroid capturer = VideoCapturerAndroid.create("", cameraEvents,
|
| + eglBase.getEglBaseContext());
|
| + VideoCapturerAndroidTestFixtures.cameraFreezedEventOnBufferStarvationUsingTextures(capturer,
|
| cameraEvents, getInstrumentation().getContext());
|
| + eglBase.release();
|
| }
|
|
|
| @MediumTest
|
|
|