Commit 8eee7c0d by olly Committed by Oliver Woodman

Remove apparently unused field

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=173871144
parent 8c793184
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment