Rabbit-R1/original r1/java/sources/androidx/media3/exoplayer/video/MediaCodecVideoDecoderException.java
2024-05-21 17:08:36 -04:00

17 lines
697 B
Java

package androidx.media3.exoplayer.video;
import android.view.Surface;
import androidx.media3.exoplayer.mediacodec.MediaCodecDecoderException;
import androidx.media3.exoplayer.mediacodec.MediaCodecInfo;
/* loaded from: classes2.dex */
public class MediaCodecVideoDecoderException extends MediaCodecDecoderException {
public final boolean isSurfaceValid;
public final int surfaceIdentityHashCode;
public MediaCodecVideoDecoderException(Throwable th, MediaCodecInfo mediaCodecInfo, Surface surface) {
super(th, mediaCodecInfo);
this.surfaceIdentityHashCode = System.identityHashCode(surface);
this.isSurfaceValid = surface == null || surface.isValid();
}
}