Rabbit-R1/android (non root)/java/sources/androidx/media3/common/VideoFrameProcessingException.java
2024-05-21 17:08:36 -04:00

44 lines
1.3 KiB
Java

package androidx.media3.common;
/* loaded from: classes2.dex */
public final class VideoFrameProcessingException extends Exception {
public final long presentationTimeUs;
public static VideoFrameProcessingException from(Exception exc) {
return from(exc, -9223372036854775807L);
}
public static VideoFrameProcessingException from(Exception exc, long j) {
if (exc instanceof VideoFrameProcessingException) {
return (VideoFrameProcessingException) exc;
}
return new VideoFrameProcessingException(exc, j);
}
public VideoFrameProcessingException(String str) {
this(str, -9223372036854775807L);
}
public VideoFrameProcessingException(String str, long j) {
super(str);
this.presentationTimeUs = j;
}
public VideoFrameProcessingException(String str, Throwable th) {
this(str, th, -9223372036854775807L);
}
public VideoFrameProcessingException(String str, Throwable th, long j) {
super(str, th);
this.presentationTimeUs = j;
}
public VideoFrameProcessingException(Throwable th) {
this(th, -9223372036854775807L);
}
public VideoFrameProcessingException(Throwable th, long j) {
super(th);
this.presentationTimeUs = j;
}
}