Loading media/java/android/media/MediaCodec.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -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 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 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 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. 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 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 ImageReader or SurfaceTexture) by targeting SDK {@link android.os.Build.VERSION_CODES#Q} and Loading Loading
media/java/android/media/MediaCodec.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -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 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 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 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. 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 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 ImageReader or SurfaceTexture) by targeting SDK {@link android.os.Build.VERSION_CODES#Q} and Loading