Remove unused parameter from ChunkSource.continueBuffering.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=120691990
This commit is contained in:
andrewlewis 2016-04-25 03:26:02 -07:00 committed by Oliver Woodman
parent ab615682b5
commit c60470339b
4 changed files with 4 additions and 6 deletions

View file

@ -207,7 +207,7 @@ public class ChunkSampleSource implements SampleSource, TrackStream, Loader.Call
@Override
public void continueBuffering(long positionUs) {
downstreamPositionUs = positionUs;
chunkSource.continueBuffering(positionUs);
chunkSource.continueBuffering();
if (!loader.isLoading()) {
maybeStartLoading();
}

View file

@ -84,10 +84,8 @@ public interface ChunkSource {
* Indicates to the source that it should still be checking for updates to the stream.
* <p>
* This method should only be called when the source is enabled.
*
* @param playbackPositionUs The current playback position.
*/
void continueBuffering(long playbackPositionUs);
void continueBuffering();
/**
* Evaluates whether {@link MediaChunk}s should be removed from the back of the queue.

View file

@ -159,7 +159,7 @@ public class DashChunkSource implements ChunkSource {
}
@Override
public void continueBuffering(long playbackPositionUs) {
public void continueBuffering() {
if (!currentManifest.dynamic || fatalError != null) {
return;
}

View file

@ -163,7 +163,7 @@ public class SmoothStreamingChunkSource implements ChunkSource {
}
@Override
public void continueBuffering(long playbackPositionUs) {
public void continueBuffering() {
if (!currentManifest.isLive || fatalError != null) {
return;
}