From af11e24653dbaaebe58556cc155fc9d61f6fcca5 Mon Sep 17 00:00:00 2001 From: Mattia Iavarone Date: Sat, 15 Sep 2018 20:02:02 -0300 Subject: [PATCH] Remove useless code --- .../cameraview/VideoTextureEncoder.java | 182 ++++++------------ .../cameraview/MediaCodecVideoRecorder.java | 4 +- 2 files changed, 56 insertions(+), 130 deletions(-) diff --git a/cameraview/src/main/gles/com/otaliastudios/cameraview/VideoTextureEncoder.java b/cameraview/src/main/gles/com/otaliastudios/cameraview/VideoTextureEncoder.java index 7464b514..e6784744 100644 --- a/cameraview/src/main/gles/com/otaliastudios/cameraview/VideoTextureEncoder.java +++ b/cameraview/src/main/gles/com/otaliastudios/cameraview/VideoTextureEncoder.java @@ -17,7 +17,6 @@ package com.otaliastudios.cameraview; import android.graphics.SurfaceTexture; import android.opengl.EGLContext; -import android.opengl.GLES20; import android.os.Build; import android.os.Handler; import android.os.Looper; @@ -48,7 +47,7 @@ import java.lang.ref.WeakReference; * To use: *