mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-28 01:52:26 -06:00
18 lines
697 B
Java
18 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();
|
||
|
}
|
||
|
}
|