From 2de811a79ec25afea02030a470ac653f4d094a0b Mon Sep 17 00:00:00 2001 From: xufuji456 Date: Thu, 20 Oct 2022 12:08:04 +0800 Subject: [PATCH] Feature: rename function --- .../frank/camerafilter/recorder/video/CameraVideoRecorder.java | 2 +- .../main/java/com/frank/camerafilter/widget/CameraRender.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,