diff options
author | Shalaj Jain <shalajj@codeaurora.org> | 2015-07-09 14:27:01 -0700 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2015-10-06 03:26:51 -0600 |
commit | 131591fd87f7a6fd5ea39a092a912bfca3a07589 (patch) | |
tree | fc8158a0324476dfdec20bd6173a3d0bc1b3795b /media | |
parent | 6229b9435da4d1a01ceb86bd04854139a7b3796e (diff) | |
download | frameworks_base-131591fd87f7a6fd5ea39a092a912bfca3a07589.zip frameworks_base-131591fd87f7a6fd5ea39a092a912bfca3a07589.tar.gz frameworks_base-131591fd87f7a6fd5ea39a092a912bfca3a07589.tar.bz2 |
MediaCodecInfo: Add new method to return CapabilitiesInfoFormat
Return the CapabilitiesInfoFormat to give caller access to custom
capabilities like VT.
Change-Id: I1a78314a2c9128eea7296644f71928a14ce8030f
Diffstat (limited to 'media')
-rw-r--r-- | media/java/android/media/MediaCodecInfo.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/media/java/android/media/MediaCodecInfo.java b/media/java/android/media/MediaCodecInfo.java index 4101935..957ba16 100644 --- a/media/java/android/media/MediaCodecInfo.java +++ b/media/java/android/media/MediaCodecInfo.java @@ -589,6 +589,13 @@ public final class MediaCodecInfo { return mDefaultFormat; } + /* Return the capabilities info, so the app can query custom settings + * like for VT. */ + /** @hide */ + public MediaFormat getCapabilitiesInfoFormat() { + return mCapabilitiesInfo; + } + /** * Returns the mime type for which this codec-capability object was created. */ |