mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
output is created at 'init', annotate it as lazyily initialized
This commit is contained in:
parent
7bf63e732d
commit
79bc160373
1 changed files with 2 additions and 1 deletions
|
|
@ -35,6 +35,7 @@ import java.lang.annotation.RetentionPolicy;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Default {@link TsPayloadReader.Factory} implementation.
|
* Default {@link TsPayloadReader.Factory} implementation.
|
||||||
|
|
@ -192,7 +193,7 @@ public final class DefaultTsPayloadReaderFactory implements TsPayloadReader.Fact
|
||||||
public class SectionPassthrough implements SectionPayloadReader {
|
public class SectionPassthrough implements SectionPayloadReader {
|
||||||
private TimestampAdjuster timestampAdjuster = null;
|
private TimestampAdjuster timestampAdjuster = null;
|
||||||
private final String mimeType;
|
private final String mimeType;
|
||||||
private TrackOutput output;
|
private @MonotonicNonNull TrackOutput output;
|
||||||
|
|
||||||
SectionPassthrough(String mimeType) {
|
SectionPassthrough(String mimeType) {
|
||||||
this.mimeType = mimeType;
|
this.mimeType = mimeType;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue