am f443c5ea: Merge "Minor corrections to the javadoc overview to reflect late API changes." into jb-dev

* commit 'f443c5ea2c67285322d4790e5bee4c3c6f6af1ae':
  Minor corrections to the javadoc overview to reflect late API changes.
This commit is contained in:
Scott Main
2012-06-28 12:04:04 -07:00
committed by Android Git Automerger
2 changed files with 3 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ import java.util.Map;
* codec.start();
* ByteBuffer[] inputBuffers = codec.getInputBuffers();
* ByteBuffer[] outputBuffers = codec.getOutputBuffers();
* Map<String, Object> format = codec.getOutputFormat();
* MediaFormat format = codec.getOutputFormat();
* for (;;) {
* int inputBufferIndex = codec.dequeueInputBuffer(timeoutUs);
* if (inputBufferIndex &gt;= 0) {

View File

@@ -36,8 +36,8 @@ import java.util.Map;
* extractor.setDataSource(...);
* int numTracks = extractor.getTrackCount();
* for (int i = 0; i &lt; numTracks; ++i) {
* Map%lt;String, Object&gt; format = extractor.getTrackFormat(i);
* String mime = (String)format.get("mime");
* MediaFormat format = extractor.getTrackFormat(i);
* String mime = format.getString(MediaFormat.KEY_MIME);
* if (weAreInterestedInThisTrack) {
* extractor.selectTrack(i);
* }