Commit 99145878 by matttt Committed by Oliver Woodman

Remove the static modifier from DefaultDashChunkSource::newMediaChunk and…

Remove the static modifier from DefaultDashChunkSource::newMediaChunk and DefaultDashChunkSource::newInitializationChunk allowing for overrides.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=204167521
parent 32a91b56
...@@ -438,9 +438,14 @@ public class DefaultDashChunkSource implements DashChunkSource { ...@@ -438,9 +438,14 @@ public class DefaultDashChunkSource implements DashChunkSource {
return resolveTimeToLiveEdgePossible ? liveEdgeTimeUs - playbackPositionUs : C.TIME_UNSET; return resolveTimeToLiveEdgePossible ? liveEdgeTimeUs - playbackPositionUs : C.TIME_UNSET;
} }
protected static Chunk newInitializationChunk(RepresentationHolder representationHolder, protected Chunk newInitializationChunk(
DataSource dataSource, Format trackFormat, int trackSelectionReason, RepresentationHolder representationHolder,
Object trackSelectionData, RangedUri initializationUri, RangedUri indexUri) { DataSource dataSource,
Format trackFormat,
int trackSelectionReason,
Object trackSelectionData,
RangedUri initializationUri,
RangedUri indexUri) {
RangedUri requestUri; RangedUri requestUri;
String baseUrl = representationHolder.representation.baseUrl; String baseUrl = representationHolder.representation.baseUrl;
if (initializationUri != null) { if (initializationUri != null) {
...@@ -459,7 +464,7 @@ public class DefaultDashChunkSource implements DashChunkSource { ...@@ -459,7 +464,7 @@ public class DefaultDashChunkSource implements DashChunkSource {
trackSelectionReason, trackSelectionData, representationHolder.extractorWrapper); trackSelectionReason, trackSelectionData, representationHolder.extractorWrapper);
} }
protected static Chunk newMediaChunk( protected Chunk newMediaChunk(
RepresentationHolder representationHolder, RepresentationHolder representationHolder,
DataSource dataSource, DataSource dataSource,
int trackType, int trackType,
......
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