From c53290373d8e40cd4b8981ae5a1593fea881c3f3 Mon Sep 17 00:00:00 2001 From: huangdarwin Date: Thu, 26 Jan 2023 16:03:24 +0000 Subject: [PATCH] Effect: Clarify FrameProcessingException javadocs. This is confusing, since the effect is used not only when applying an effect, but also when preparing an effect (ex. in a texture processor's constructor), so we should also mention that case. PiperOrigin-RevId: 504843598 --- .../android/exoplayer2/util/FrameProcessingException.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/library/common/src/main/java/com/google/android/exoplayer2/util/FrameProcessingException.java b/library/common/src/main/java/com/google/android/exoplayer2/util/FrameProcessingException.java index 524b6dfd9d..f9998349ab 100644 --- a/library/common/src/main/java/com/google/android/exoplayer2/util/FrameProcessingException.java +++ b/library/common/src/main/java/com/google/android/exoplayer2/util/FrameProcessingException.java @@ -17,7 +17,10 @@ package com.google.android.exoplayer2.util; import com.google.android.exoplayer2.C; -/** Thrown when an exception occurs while applying effects to video frames. */ +/** + * Thrown when an exception occurs while preparing an {@link Effect}, or applying an {@link Effect} + * to video frames. + */ public final class FrameProcessingException extends Exception { /**