Searched refs:outputIndex (Results 1 – 1 of 1) sorted by relevance
2499 int outputIndex = codec.dequeueOutputBuffer(bufferInfo, 0); in doFlushAfterFirstBuffer() local2500 if (outputIndex == MediaCodec.INFO_TRY_AGAIN_LATER) { in doFlushAfterFirstBuffer()2501 outputIndex = codec.dequeueOutputBuffer(bufferInfo, 5000); in doFlushAfterFirstBuffer()2503 if (outputIndex == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in doFlushAfterFirstBuffer()2505 } else if (outputIndex >= 0) { in doFlushAfterFirstBuffer()2509 codec.releaseOutputBuffer(outputIndex, false); in doFlushAfterFirstBuffer()