am c2182c67: Merge "Clarification of MediaCodec behaviour when codec specific data is included" into jb-dev

* commit 'c2182c67d65619041956849c346d67e77010ab7e':
  Clarification of MediaCodec behaviour when codec specific data is included
This commit is contained in:
Andreas Huber
2012-05-09 01:47:45 -07:00
committed by Android Git Automerger

View File

@@ -94,6 +94,11 @@ import java.util.Map;
* be codec specific data marked as such using the flag {@link #BUFFER_FLAG_CODEC_CONFIG}
* in a call to {@link #queueInputBuffer}.
*
* Codec specific data included in the format passed to {@link #configure}
* (in ByteBuffer entries with keys "csd-0", "csd-1", ...) is automatically
* submitted to the codec, this data MUST NOT be submitted explicitly by the
* client.
*
* Once the client reaches the end of the input data it signals the end of
* the input stream by specifying a flag of {@link #BUFFER_FLAG_END_OF_STREAM} in the call to
* {@link #queueInputBuffer}. The codec will continue to return output buffers