Commit 42416b82 by Oliver Woodman

Fixed issue in which DashChunkSource didn't make use of the most recent

manifest.
parent c3e0d34a
...@@ -302,12 +302,14 @@ public class DashChunkSource implements ChunkSource, Output { ...@@ -302,12 +302,14 @@ public class DashChunkSource implements ChunkSource, Output {
@Override @Override
public void enable(int track) { public void enable(int track) {
enabledTrack = tracks.get(track); enabledTrack = tracks.get(track);
processManifest(currentManifest);
if (enabledTrack.isAdaptive()) { if (enabledTrack.isAdaptive()) {
adaptiveFormatEvaluator.enable(); adaptiveFormatEvaluator.enable();
} }
if (manifestFetcher != null) { if (manifestFetcher != null) {
manifestFetcher.enable(); manifestFetcher.enable();
processManifest(manifestFetcher.getManifest());
} else {
processManifest(currentManifest);
} }
} }
......
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