Searched refs:encoderStatus (Results 1 – 1 of 1) sorted by relevance
513 int encoderStatus = mEncoder.dequeueOutputBuffer(mBufferInfo, TIMEOUT_USEC); in doMediaCodecEncoding() local514 if (encoderStatus == MediaCodec.INFO_TRY_AGAIN_LATER) { in doMediaCodecEncoding()526 } else if (encoderStatus == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) { in doMediaCodecEncoding()529 } else if (encoderStatus == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in doMediaCodecEncoding()544 } else if (encoderStatus < 0) { in doMediaCodecEncoding()545 Log.w(TAG, "unexpected result from encoder.dequeueOutputBuffer: " + encoderStatus); in doMediaCodecEncoding()548 ByteBuffer encodedData = encoderOutputBuffers[encoderStatus]; in doMediaCodecEncoding()550 throw new RuntimeException("encoderOutputBuffer " + encoderStatus + in doMediaCodecEncoding()584 mEncoder.releaseOutputBuffer(encoderStatus, false); in doMediaCodecEncoding()