summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2012-09-25 11:55:25 +0300
committerMartin Storsjo <martin@martin.st>2012-11-14 20:52:01 +0200
commit93077a2902a74256b7eb4795e1ef92bbc5c50f10 (patch)
tree61c8a81d4b066c99e860126de688403a8dc8ab70 /api
parent056ef2ed5ff92b742fe53f2498c596ec1f6bed3c (diff)
downloadframeworks_base-93077a2902a74256b7eb4795e1ef92bbc5c50f10.zip
frameworks_base-93077a2902a74256b7eb4795e1ef92bbc5c50f10.tar.gz
frameworks_base-93077a2902a74256b7eb4795e1ef92bbc5c50f10.tar.bz2
MediaCodec: Allow getting the codec info directly
This saves the caller from manually iterating through the MediaCodecList for finding the right codec. This adds new public API. Change-Id: I8462f040573427542d86d1b957a5aef53dd55e8e
Diffstat (limited to 'api')
-rw-r--r--api/current.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt
index 4fe1a07..f409526 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -11199,6 +11199,7 @@ package android.media {
method public final int dequeueInputBuffer(long);
method public final int dequeueOutputBuffer(android.media.MediaCodec.BufferInfo, long);
method public final void flush();
+ method public android.media.MediaCodecInfo getCodecInfo();
method public java.nio.ByteBuffer[] getInputBuffers();
method public final java.lang.String getName();
method public java.nio.ByteBuffer[] getOutputBuffers();