mirror of
https://github.com/samsonjs/media.git
synced 2026-04-04 11:05:47 +00:00
Add missing IntDef annotations in WebvttDecoderTest
Also change the type of endTime to long to match startTime PiperOrigin-RevId: 276448131
This commit is contained in:
parent
881fcf829a
commit
3a84b787b1
1 changed files with 5 additions and 5 deletions
|
|
@ -405,7 +405,7 @@ public class WebvttDecoderTest {
|
|||
}
|
||||
|
||||
private static void assertCue(
|
||||
WebvttSubtitle subtitle, int eventTimeIndex, long startTimeUs, int endTimeUs, String text) {
|
||||
WebvttSubtitle subtitle, int eventTimeIndex, long startTimeUs, long endTimeUs, String text) {
|
||||
assertCue(
|
||||
subtitle,
|
||||
eventTimeIndex,
|
||||
|
|
@ -425,14 +425,14 @@ public class WebvttDecoderTest {
|
|||
WebvttSubtitle subtitle,
|
||||
int eventTimeIndex,
|
||||
long startTimeUs,
|
||||
int endTimeUs,
|
||||
long endTimeUs,
|
||||
String text,
|
||||
@Nullable Alignment textAlignment,
|
||||
float line,
|
||||
int lineType,
|
||||
int lineAnchor,
|
||||
@Cue.LineType int lineType,
|
||||
@Cue.AnchorType int lineAnchor,
|
||||
float position,
|
||||
int positionAnchor,
|
||||
@Cue.AnchorType int positionAnchor,
|
||||
float size) {
|
||||
assertWithMessage("startTimeUs")
|
||||
.that(subtitle.getEventTime(eventTimeIndex))
|
||||
|
|
|
|||
Loading…
Reference in a new issue