Class MediaCodecVideoDecoderException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.google.android.exoplayer2.decoder.DecoderException
-
- com.google.android.exoplayer2.mediacodec.MediaCodecDecoderException
-
- com.google.android.exoplayer2.video.MediaCodecVideoDecoderException
-
- All Implemented Interfaces:
Serializable
@Deprecated public class MediaCodecVideoDecoderException extends MediaCodecDecoderException
Deprecated.com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.Thrown when a failure occurs in aMediaCodec
video decoder.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description boolean
isSurfaceValid
Deprecated.Whether the surface was valid when the exception occurred.int
surfaceIdentityHashCode
Deprecated.TheSystem.identityHashCode(Object)
of the surface when the exception occurred.-
Fields inherited from class com.google.android.exoplayer2.mediacodec.MediaCodecDecoderException
codecInfo, diagnosticInfo
-
-
Constructor Summary
Constructors Constructor Description MediaCodecVideoDecoderException(Throwable cause, MediaCodecInfo codecInfo, Surface surface)
Deprecated.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
surfaceIdentityHashCode
public final int surfaceIdentityHashCode
Deprecated.TheSystem.identityHashCode(Object)
of the surface when the exception occurred.
-
isSurfaceValid
public final boolean isSurfaceValid
Deprecated.Whether the surface was valid when the exception occurred.
-
-
Constructor Detail
-
MediaCodecVideoDecoderException
public MediaCodecVideoDecoderException(Throwable cause, @Nullable MediaCodecInfo codecInfo, @Nullable Surface surface)
Deprecated.
-
-