Feature: rename function

pull/221/head
xufuji456 2 years ago
parent 65fcb8fba9
commit 2de811a79e
  1. 2
      CameraFilter/src/main/java/com/frank/camerafilter/recorder/video/CameraVideoRecorder.java
  2. 2
      CameraFilter/src/main/java/com/frank/camerafilter/widget/CameraRender.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;
}

@ -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,

Loading…
Cancel
Save