Index: webrtc/sdk/android/api/org/webrtc/MediaCodecVideoEncoder.java |
diff --git a/webrtc/sdk/android/api/org/webrtc/MediaCodecVideoEncoder.java b/webrtc/sdk/android/api/org/webrtc/MediaCodecVideoEncoder.java |
index a45e70920c35193a57026977b3e610f957d0fa9c..227c5a40c5ecfb3552e95e65a87497356bfba195 100644 |
--- a/webrtc/sdk/android/api/org/webrtc/MediaCodecVideoEncoder.java |
+++ b/webrtc/sdk/android/api/org/webrtc/MediaCodecVideoEncoder.java |
@@ -616,7 +616,7 @@ public class MediaCodecVideoEncoder { |
// TODO(perkj): glClear() shouldn't be necessary since every pixel is covered anyway, |
// but it's a workaround for bug webrtc:5147. |
GLES20.glClear(GLES20.GL_COLOR_BUFFER_BIT); |
- RendererCommon.drawTexture(drawer, textureBuffer, new Matrix() /* renderMatrix */, width, |
+ VideoFrameDrawer.drawTexture(drawer, textureBuffer, new Matrix() /* renderMatrix */, width, |
height, 0 /* viewportX */, 0 /* viewportY */, width, height); |
eglBase.swapBuffers(frame.getTimestampNs()); |
} else { |