diff --git a/RELEASENOTES.md b/RELEASENOTES.md index fff06b960d..a020a024b7 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -30,6 +30,9 @@ * Enable sending `CmcdData` for manifest requests in adaptive streaming formats DASH, HLS, and SmoothStreaming ([#1951](https://github.com/androidx/media/issues/1951)). + * Provide `MediaCodecInfo` of the codec that will be initialized in + `MediaCodecRenderer.onReadyToInitializeCodec` + ([#1963](https://github.com/androidx/media/pull/1963)). * Transformer: * Update parameters of `VideoFrameProcessor.registerInputStream` and `VideoFrameProcessor.Listener.onInputStreamRegistered` to use `Format`. diff --git a/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/mediacodec/MediaCodecRenderer.java b/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/mediacodec/MediaCodecRenderer.java index 30daaf3d1e..fddf1873f0 100644 --- a/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/mediacodec/MediaCodecRenderer.java +++ b/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/mediacodec/MediaCodecRenderer.java @@ -1495,7 +1495,7 @@ public abstract class MediaCodecRenderer extends BaseRenderer { * *

The default implementation is a no-op. * - * @param codecInfo The {@link MediaCodecInfo} the codec which is being configured. + * @param codecInfo The {@link MediaCodecInfo} of the codec which will be initialized. * @param format The {@link Format} for which the codec is being configured. * @throws ExoPlaybackException If an error occurs preparing for initializing the codec. */