VideoCapturerAndroid: Remove deprecated create function with egl context argument

R=glaznev@webrtc.org, perkj@webrtc.org

Review URL: https://codereview.webrtc.org/1900413002 .

Cr-Commit-Position: refs/heads/master@{#12587}
This commit is contained in:
Magnus Jedvert
2016-05-02 09:43:19 +02:00
parent 1ba8d39a9c
commit d1d96b2508
3 changed files with 1 additions and 16 deletions

View File

@ -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;