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

Commit f59f4e29 authored by Brian Lindahl's avatar Brian Lindahl Committed by Automerger Merge Worker
Browse files

Merge "Update documentation for MediaCodec onFrameRendered" into udc-dev am:...

Merge "Update documentation for MediaCodec onFrameRendered" into udc-dev am: 6e64c179 am: 1bbe3780 am: e00d9e30

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23638768



Change-Id: I9c8700b730bff9f51142a6c370ef17d82b195a46
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents b962abd1 e00d9e30
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -4933,8 +4933,12 @@ final public class MediaCodec {
         * Called when an output frame has rendered on the output surface.
         * <p>
         * <strong>Note:</strong> This callback is for informational purposes only: to get precise
         * render timing samples, and can be significantly delayed and batched. Some frames may have
         * been rendered even if there was no callback generated.
         * render timing samples, and can be significantly delayed and batched. Starting with
         * Android {@link android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE}, a callback will always
         * be received for each rendered frame providing the MediaCodec is still in the executing
         * state when the callback is dispatched. Prior to Android
         * {@link android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE}, some frames may have been
         * rendered even if there was no callback generated.
         *
         * @param codec the MediaCodec instance
         * @param presentationTimeUs the presentation time (media time) of the frame rendered.