Fix distortions of remote stream with odd size dimensions
BUG=webrtc:4482 Review URL: https://codereview.webrtc.org/1280483003 Cr-Commit-Position: refs/heads/master@{#9702}
This commit is contained in:
parent
8a2cd3d57d
commit
d941b7609c
@ -546,6 +546,7 @@ public class VideoRendererGui implements GLSurfaceView.Renderer {
|
||||
onSurfaceCreatedCalled = true;
|
||||
}
|
||||
GlUtil.checkNoGLES2Error("onSurfaceCreated done");
|
||||
GLES20.glPixelStorei(GLES20.GL_UNPACK_ALIGNMENT, 1);
|
||||
GLES20.glClearColor(0.15f, 0.15f, 0.15f, 1.0f);
|
||||
|
||||
// Fire EGL context ready event.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user