mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +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 DashManifest manifest;
|
||||
private int periodIndex;
|
||||
private List<AdaptationSet> adaptationSets;
|
||||
|
||||
public DashMediaPeriod(int id, DashManifest manifest, int periodIndex,
|
||||
DashChunkSource.Factory chunkSourceFactory, int minLoadableRetryCount,
|
||||
|
|
@ -81,8 +80,8 @@ import java.util.List;
|
|||
this.allocator = allocator;
|
||||
sampleStreams = newSampleStreamArray(0);
|
||||
sequenceableLoader = new CompositeSequenceableLoader(sampleStreams);
|
||||
adaptationSets = manifest.getPeriod(periodIndex).adaptationSets;
|
||||
Pair<TrackGroupArray, TrackGroupInfo[]> result = buildTrackGroups(adaptationSets);
|
||||
Pair<TrackGroupArray, TrackGroupInfo[]> result =
|
||||
buildTrackGroups(manifest.getPeriod(periodIndex).adaptationSets);
|
||||
trackGroups = result.first;
|
||||
trackGroupInfos = result.second;
|
||||
}
|
||||
|
|
@ -90,7 +89,6 @@ import java.util.List;
|
|||
public void updateManifest(DashManifest manifest, int periodIndex) {
|
||||
this.manifest = manifest;
|
||||
this.periodIndex = periodIndex;
|
||||
adaptationSets = manifest.getPeriod(periodIndex).adaptationSets;
|
||||
if (sampleStreams != null) {
|
||||
for (ChunkSampleStream<DashChunkSource> sampleStream : sampleStreams) {
|
||||
sampleStream.getChunkSource().updateManifest(manifest, periodIndex);
|
||||
|
|
|
|||
Loading…
Reference in a new issue