From de82a2be336e9308e194d5baf91c348a2700a5de Mon Sep 17 00:00:00 2001 From: huangdarwin Date: Fri, 30 Sep 2022 13:24:26 +0000 Subject: [PATCH] Effect: Update javadoc to remove "final effect" references "Final" was likely added to reference the FinalMatrixTextureProcessorWrapper, which is a package-private class. However, I think more clear to express that this is the input size, which then has all effects applied, to get the output size. PiperOrigin-RevId: 477975358 --- .../main/java/androidx/media3/common/FrameProcessor.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libraries/common/src/main/java/androidx/media3/common/FrameProcessor.java b/libraries/common/src/main/java/androidx/media3/common/FrameProcessor.java index 4c9a675d8b..877e06975d 100644 --- a/libraries/common/src/main/java/androidx/media3/common/FrameProcessor.java +++ b/libraries/common/src/main/java/androidx/media3/common/FrameProcessor.java @@ -74,10 +74,13 @@ public interface FrameProcessor { interface Listener { /** - * Called when the output size after applying the final effect changes. + * Called when the output size changes. * - *

The output size after applying the final effect can differ from the size specified using - * {@link #setOutputSurfaceInfo(SurfaceInfo)}. + *

The output size is the frame size in pixels after applying all {@linkplain Effect + * effects}. + * + *

The output size may differ from the size specified using {@link + * #setOutputSurfaceInfo(SurfaceInfo)}. */ void onOutputSizeChanged(int width, int height);