Index: webrtc/api/java/src/org/webrtc/MediaCodecVideoEncoder.java |
diff --git a/webrtc/api/java/src/org/webrtc/MediaCodecVideoEncoder.java b/webrtc/api/java/src/org/webrtc/MediaCodecVideoEncoder.java |
index 1f71652350353d9e1526d7eaa884ed512100d75e..0b5f12220975941c68c103137acb48aba3397185 100644 |
--- a/webrtc/api/java/src/org/webrtc/MediaCodecVideoEncoder.java |
+++ b/webrtc/api/java/src/org/webrtc/MediaCodecVideoEncoder.java |
@@ -395,7 +395,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); |
- drawer.drawOes(oesTextureId, transformationMatrix, 0, 0, width, height); |
+ drawer.drawOes(oesTextureId, transformationMatrix, width, height, 0, 0, width, height); |
eglBase.swapBuffers(TimeUnit.MICROSECONDS.toNanos(presentationTimestampUs)); |
return true; |
} |