Skip to content

Commit

Permalink
am f443c5e: Merge "Minor corrections to the javadoc overview to refle…
Browse files Browse the repository at this point in the history
…ct late API changes." into jb-dev

* commit 'f443c5ea2c67285322d4790e5bee4c3c6f6af1ae':
  Minor corrections to the javadoc overview to reflect late API changes.
  • Loading branch information
scottamain authored and Android Git Automerger committed Jun 28, 2012
2 parents 9e75d57 + f443c5e commit 00a8260
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion media/java/android/media/MediaCodec.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* 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) {
Expand Down
4 changes: 2 additions & 2 deletions media/java/android/media/MediaExtractor.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
* 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);
* }
Expand Down

0 comments on commit 00a8260

Please sign in to comment.