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(); } }