uestccokey / EZFilter

A lightweight (<180KB), easy-to-extend Android filter and dynamic sticker framework for adding filters and stickers for camera, video, bitmap and view.(一个轻量级(<180KB)、易扩展的Android滤镜和动态贴纸框架,支持摄像头、视频、图片和视图添加滤镜和贴纸。)
MIT License
208 stars 57 forks source link

Is there a problem here? #50

Closed chongbo2013 closed 5 years ago

chongbo2013 commented 5 years ago

TIM截图20190325175203 if ((mBufferInfo.flags & MediaCodec.BUFFER_FLAG_END_OF_STREAM) != 0) { mEncoder.signalEndOfInputStream(); mIsDecoderEOS = true; mBufferInfo.size = 0; } Why do you need to end this? mEncoder.signalEndOfInputStream();

uestccokey commented 5 years ago

You can test if you don't add this code. I refer to the MediaCodec demo code provided by Google.