We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e67f8c8 + fdd3241 commit 52410beCopy full SHA for 52410be
media/java/android/media/MediaCodec.java
@@ -33,7 +33,6 @@
33
* codec.start();
34
* ByteBuffer[] inputBuffers = codec.getInputBuffers();
35
* ByteBuffer[] outputBuffers = codec.getOutputBuffers();
36
- * MediaFormat format = codec.getOutputFormat();
37
* for (;;) {
38
* int inputBufferIndex = codec.dequeueInputBuffer(timeoutUs);
39
* if (inputBufferIndex >= 0) {
@@ -51,7 +50,7 @@
51
50
* outputBuffers = codec.getOutputBuffers();
52
* } else if (outputBufferIndex == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) {
53
* // Subsequent data will conform to new format.
54
- * format = codec.getOutputFormat();
+ * MediaFormat format = codec.getOutputFormat();
55
* ...
56
* }
57
0 commit comments