MediaCodec_loop 崩溃

来源:互联网 发布:sai在mac虚拟机没压感 编辑:程序博客网 时间:2024/06/07 06:17

参考:

http://stackoverflow.com/questions/19087919/android-mediacodec-crash


I finally find out the solution. I answer here so people who found the same problem can fix it.

When my mediacodec plays near the end of file, it doesn't queue more input buffer into the inputQueue, therefore when it needs to dequeue the buffers, it cannot find any buffer to play


0 0