mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +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 =
|
private static final OutputOptions ALL =
|
||||||
new OutputOptions(C.TIME_UNSET, /* outputAllCues= */ false);
|
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;
|
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;
|
public final boolean outputAllCues;
|
||||||
|
|
||||||
private OutputOptions(long startTimeUs, boolean outputAllCues) {
|
private OutputOptions(long startTimeUs, boolean outputAllCues) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue