From b2d935495165b1c83c00e2be5229ab0bfe4940f9 Mon Sep 17 00:00:00 2001 From: huangdarwin Date: Tue, 24 Jan 2023 15:53:23 +0000 Subject: [PATCH] Effect: Clarify GlEffect javadoc exception cause. PiperOrigin-RevId: 504273335 --- .../java/com/google/android/exoplayer2/effect/GlEffect.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/library/effect/src/main/java/com/google/android/exoplayer2/effect/GlEffect.java b/library/effect/src/main/java/com/google/android/exoplayer2/effect/GlEffect.java index 0e48457521..2c009af9d7 100644 --- a/library/effect/src/main/java/com/google/android/exoplayer2/effect/GlEffect.java +++ b/library/effect/src/main/java/com/google/android/exoplayer2/effect/GlEffect.java @@ -29,11 +29,13 @@ import com.google.android.exoplayer2.util.FrameProcessingException; public interface GlEffect extends Effect { /** - * Returns a {@link SingleFrameGlTextureProcessor} that applies the effect. + * Returns a {@link GlTextureProcessor} that applies the effect. * * @param context A {@link Context}. * @param useHdr Whether input textures come from an HDR source. If {@code true}, colors will be * in linear RGB BT.2020. If {@code false}, colors will be in linear RGB BT.709. + * @throws FrameProcessingException If an error occurs while creating the {@link + * GlTextureProcessor}. */ GlTextureProcessor toGlTextureProcessor(Context context, boolean useHdr) throws FrameProcessingException;