From 320cfbb6bc19d3b0df1e40f199bf8075efb2369c Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Tue, 8 Oct 2019 09:52:04 +0100 Subject: [PATCH] Fix MediaCodec javadoc typo Test: javadoc only fix Change-Id: I531c6a433fefcd880d3233a59bfb249c7968a8e5 --- media/java/android/media/MediaCodec.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/java/android/media/MediaCodec.java b/media/java/android/media/MediaCodec.java index 510ee442f8526..cb2a89ec5a365 100644 --- a/media/java/android/media/MediaCodec.java +++ b/media/java/android/media/MediaCodec.java @@ -649,7 +649,7 @@ import java.util.concurrent.locks.ReentrantLock; are not consumed by the Surface in a timely manner). Or it may be configured to not drop excessive frames. In the latter mode if the Surface is not consuming output frames fast enough, it will eventually block the decoder. Prior to {@link android.os.Build.VERSION_CODES#Q} the exact behavior - was undefined, with the exception that View surfaces (SuerfaceView or TextureView) always dropped + was undefined, with the exception that View surfaces (SurfaceView or TextureView) always dropped excessive frames. Since {@link android.os.Build.VERSION_CODES#Q} the default behavior is to drop excessive frames. Applications can opt out of this behavior for non-View surfaces (such as ImageReader or SurfaceTexture) by targeting SDK {@link android.os.Build.VERSION_CODES#Q} and