Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8dc8f10d authored by Shalaj Jain's avatar Shalaj Jain Committed by Linux Build Service Account
Browse files

MediaCodecInfo: Add new method to return CapabilitiesInfoFormat

Return the CapabilitiesInfoFormat to give caller access to custom
capabilities like VT.

Change-Id: I1a78314a2c9128eea7296644f71928a14ce8030f
parent 87bb3939
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -769,6 +769,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.
         */