Rabbit-R1/original r1/java/sources/androidx/media3/common/VideoFrameProcessingException.java

45 lines
1.3 KiB
Java
Raw Normal View History

2024-05-21 16:08:36 -05:00
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;
}
}