File tree 1 file changed +1
-2
lines changed
codec/src/main/java/com/lmy/codec/encoder
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import android.graphics.SurfaceTexture
10
10
import android.media.MediaCodec
11
11
import android.media.MediaFormat
12
12
import android.opengl.EGLContext
13
- import com.lmy.codec.encoder.impl.SoftVideoEncoderImpl
14
13
import com.lmy.codec.encoder.impl.SoftVideoEncoderV2Impl
15
14
import com.lmy.codec.encoder.impl.VideoEncoderImpl
16
15
import com.lmy.codec.entity.CodecContext
@@ -52,7 +51,7 @@ interface Encoder : SurfaceTexture.OnFrameAvailableListener {
52
51
return if (CodecContext .CodecType .HARD == context.codecType) {
53
52
VideoEncoderImpl (context, textureId, eglContext, onPreparedListener)
54
53
} else {
55
- SoftVideoEncoderImpl (context, textureId, eglContext, onPreparedListener)
54
+ SoftVideoEncoderV2Impl (context, textureId, eglContext, onPreparedListener)
56
55
}
57
56
}
58
57
You can’t perform that action at this time.
0 commit comments