mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Remove apparently unused field
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173871144
This commit is contained in:
parent
8c793184d9
commit
8eee7c0d69
1 changed files with 2 additions and 4 deletions
|
|
@ -64,7 +64,6 @@ import java.util.List;
|
||||||
private CompositeSequenceableLoader sequenceableLoader;
|
private CompositeSequenceableLoader sequenceableLoader;
|
||||||
private DashManifest manifest;
|
private DashManifest manifest;
|
||||||
private int periodIndex;
|
private int periodIndex;
|
||||||
private List<AdaptationSet> adaptationSets;
|
|
||||||
|
|
||||||
public DashMediaPeriod(int id, DashManifest manifest, int periodIndex,
|
public DashMediaPeriod(int id, DashManifest manifest, int periodIndex,
|
||||||
DashChunkSource.Factory chunkSourceFactory, int minLoadableRetryCount,
|
DashChunkSource.Factory chunkSourceFactory, int minLoadableRetryCount,
|
||||||
|
|
@ -81,8 +80,8 @@ import java.util.List;
|
||||||
this.allocator = allocator;
|
this.allocator = allocator;
|
||||||
sampleStreams = newSampleStreamArray(0);
|
sampleStreams = newSampleStreamArray(0);
|
||||||
sequenceableLoader = new CompositeSequenceableLoader(sampleStreams);
|
sequenceableLoader = new CompositeSequenceableLoader(sampleStreams);
|
||||||
adaptationSets = manifest.getPeriod(periodIndex).adaptationSets;
|
Pair<TrackGroupArray, TrackGroupInfo[]> result =
|
||||||
Pair<TrackGroupArray, TrackGroupInfo[]> result = buildTrackGroups(adaptationSets);
|
buildTrackGroups(manifest.getPeriod(periodIndex).adaptationSets);
|
||||||
trackGroups = result.first;
|
trackGroups = result.first;
|
||||||
trackGroupInfos = result.second;
|
trackGroupInfos = result.second;
|
||||||
}
|
}
|
||||||
|
|
@ -90,7 +89,6 @@ import java.util.List;
|
||||||
public void updateManifest(DashManifest manifest, int periodIndex) {
|
public void updateManifest(DashManifest manifest, int periodIndex) {
|
||||||
this.manifest = manifest;
|
this.manifest = manifest;
|
||||||
this.periodIndex = periodIndex;
|
this.periodIndex = periodIndex;
|
||||||
adaptationSets = manifest.getPeriod(periodIndex).adaptationSets;
|
|
||||||
if (sampleStreams != null) {
|
if (sampleStreams != null) {
|
||||||
for (ChunkSampleStream<DashChunkSource> sampleStream : sampleStreams) {
|
for (ChunkSampleStream<DashChunkSource> sampleStream : sampleStreams) {
|
||||||
sampleStream.getChunkSource().updateManifest(manifest, periodIndex);
|
sampleStream.getChunkSource().updateManifest(manifest, periodIndex);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue