DJI-Mobile-SDK-Tutorials / Android-VideoStreamDecodingSample

This sample project demonstrates how to use FFmpeg for video frame parsing and to use MediaCodec for hardware decoding on DJI Products.
MIT License
169 stars 80 forks source link

int outIndex = codec.dequeueOutputBuffer(bufferInfo, 0) always return -1 #40

Open jiangdongguo opened 5 years ago

jiangdongguo commented 5 years ago

int outIndex = codec.dequeueOutputBuffer(bufferInfo, 0) always return -1,Can anyone meet it?How to solve?Thx

oscarmore2 commented 5 years ago

that should be insert a wrong setting.