Commit 22b95032 by olly Committed by Oliver Woodman

Reinstate buffer discard for SmoothStreaming

Now we have a ChunkSampleStream.discardBuffer, we need to call
it from SsMediaPeriod as well as for the DASH case.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=175675427
parent b30b7863
...@@ -139,7 +139,9 @@ import java.util.ArrayList; ...@@ -139,7 +139,9 @@ import java.util.ArrayList;
@Override @Override
public void discardBuffer(long positionUs) { public void discardBuffer(long positionUs) {
// Do nothing. for (ChunkSampleStream<SsChunkSource> sampleStream : sampleStreams) {
sampleStream.discardBuffer(positionUs);
}
} }
@Override @Override
......
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