mirror of
https://github.com/samsonjs/media.git
synced 2026-04-04 11:05:47 +00:00
Add javadoc to SubtitleParser.OutputOptions
PiperOrigin-RevId: 565066243
This commit is contained in:
parent
f8b23da7af
commit
56fbf7377e
1 changed files with 9 additions and 0 deletions
|
|
@ -64,7 +64,16 @@ public interface SubtitleParser {
|
|||
private static final OutputOptions ALL =
|
||||
new OutputOptions(C.TIME_UNSET, /* outputAllCues= */ false);
|
||||
|
||||
/**
|
||||
* Cues after this time (inclusive) will be emitted first. Cues before this time might be
|
||||
* emitted later, depending on {@link #outputAllCues}.
|
||||
*/
|
||||
public final long startTimeUs;
|
||||
|
||||
/**
|
||||
* Whether to eventually emit all cues, or only those after {@link #startTimeUs}. Ignored if
|
||||
* {@link #startTimeUs} is not set.
|
||||
*/
|
||||
public final boolean outputAllCues;
|
||||
|
||||
private OutputOptions(long startTimeUs, boolean outputAllCues) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue