Index: webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java |
diff --git a/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java b/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java |
index 4ac7e0508b19e41ed0eebb5af2a64c4791cd5312..8f30451183261a0eed30c6da6e78b1438ce0b51d 100644 |
--- a/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java |
+++ b/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java |
@@ -488,7 +488,7 @@ public class PeerConnectionClient { |
} |
Log.d(TAG, "Opening camera: " + cameraDeviceName); |
videoCapturer = VideoCapturerAndroid.create(cameraDeviceName, null, |
- peerConnectionParameters.captureToTexture ? renderEGLContext : null); |
+ peerConnectionParameters.captureToTexture); |
if (videoCapturer == null) { |
reportError("Failed to open camera"); |
return; |