Index: webrtc/api/java/android/org/webrtc/SurfaceViewRenderer.java |
diff --git a/webrtc/api/java/android/org/webrtc/SurfaceViewRenderer.java b/webrtc/api/java/android/org/webrtc/SurfaceViewRenderer.java |
index c37d24770f3d754e685cdbae6291c6c422a0ecdc..e20f67dc32389d43d64905c54246d7cbce08dfe8 100644 |
--- a/webrtc/api/java/android/org/webrtc/SurfaceViewRenderer.java |
+++ b/webrtc/api/java/android/org/webrtc/SurfaceViewRenderer.java |
@@ -489,11 +489,9 @@ |
} |
yuvUploader.uploadYuvData( |
yuvTextures, frame.width, frame.height, frame.yuvStrides, frame.yuvPlanes); |
- drawer.drawYuv(yuvTextures, texMatrix, frame.rotatedWidth(), frame.rotatedHeight(), |
- 0, 0, surfaceSize.x, surfaceSize.y); |
+ drawer.drawYuv(yuvTextures, texMatrix, 0, 0, surfaceSize.x, surfaceSize.y); |
} else { |
- drawer.drawOes(frame.textureId, texMatrix, frame.rotatedWidth(), frame.rotatedHeight(), |
- 0, 0, surfaceSize.x, surfaceSize.y); |
+ drawer.drawOes(frame.textureId, texMatrix, 0, 0, surfaceSize.x, surfaceSize.y); |
} |
eglBase.swapBuffers(); |