diff --git a/CameraFilter/src/main/java/com/frank/camerafilter/recorder/video/CameraVideoRecorder.java b/CameraFilter/src/main/java/com/frank/camerafilter/recorder/video/CameraVideoRecorder.java index dc15f8c..86c1ba4 100644 --- a/CameraFilter/src/main/java/com/frank/camerafilter/recorder/video/CameraVideoRecorder.java +++ b/CameraFilter/src/main/java/com/frank/camerafilter/recorder/video/CameraVideoRecorder.java @@ -322,7 +322,7 @@ public class CameraVideoRecorder implements Runnable { this.glTextureBuffer = glTextureBuffer; } - public void setCubeBuffer(FloatBuffer gLVertexBuffer) { + public void setVertexBuffer(FloatBuffer gLVertexBuffer) { this.glVertexBuffer = gLVertexBuffer; } diff --git a/CameraFilter/src/main/java/com/frank/camerafilter/widget/CameraRender.java b/CameraFilter/src/main/java/com/frank/camerafilter/widget/CameraRender.java index 5955969..55b110e 100644 --- a/CameraFilter/src/main/java/com/frank/camerafilter/widget/CameraRender.java +++ b/CameraFilter/src/main/java/com/frank/camerafilter/widget/CameraRender.java @@ -177,7 +177,7 @@ public class CameraRender implements GLSurfaceView.Renderer, SurfaceTexture.OnFr case RECORDING_OFF: videoRecorder.setPreviewSize(mImageWidth, mImageHeight); videoRecorder.setTextureBuffer(mTextureBuffer); - videoRecorder.setCubeBuffer(mVertexBuffer); + videoRecorder.setVertexBuffer(mVertexBuffer); videoRecorder.startRecording(new CameraVideoRecorder.RecorderConfig( mImageWidth, mImageHeight,