Files
rr3-apk/decompiled/sources/com/mbridge/msdk/playercommon/exoplayer2/text/SubtitleOutputBuffer.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

49 lines
1.6 KiB
Java

package com.mbridge.msdk.playercommon.exoplayer2.text;
import com.mbridge.msdk.playercommon.exoplayer2.decoder.OutputBuffer;
import java.util.List;
/* loaded from: classes4.dex */
public abstract class SubtitleOutputBuffer extends OutputBuffer implements Subtitle {
private long subsampleOffsetUs;
private Subtitle subtitle;
@Override // com.mbridge.msdk.playercommon.exoplayer2.decoder.OutputBuffer
public abstract void release();
public void setContent(long j, Subtitle subtitle, long j2) {
this.timeUs = j;
this.subtitle = subtitle;
if (j2 != Long.MAX_VALUE) {
j = j2;
}
this.subsampleOffsetUs = j;
}
@Override // com.mbridge.msdk.playercommon.exoplayer2.text.Subtitle
public int getEventTimeCount() {
return this.subtitle.getEventTimeCount();
}
@Override // com.mbridge.msdk.playercommon.exoplayer2.text.Subtitle
public long getEventTime(int i) {
return this.subtitle.getEventTime(i) + this.subsampleOffsetUs;
}
@Override // com.mbridge.msdk.playercommon.exoplayer2.text.Subtitle
public int getNextEventTimeIndex(long j) {
return this.subtitle.getNextEventTimeIndex(j - this.subsampleOffsetUs);
}
@Override // com.mbridge.msdk.playercommon.exoplayer2.text.Subtitle
public List<Cue> getCues(long j) {
return this.subtitle.getCues(j - this.subsampleOffsetUs);
}
@Override // com.mbridge.msdk.playercommon.exoplayer2.decoder.Buffer
public void clear() {
super.clear();
this.subtitle = null;
}
}