Don't print warning if we get a SeekMap when reading DASH chunks.

Both FragmentedMp4Extractor and WebmExtractor now invoke seekMap() with
SeekMap.UNSEEKABLE if there isn't an index in the stream, so DASH playbacks
will end up printing this warning every 5 seconds or so. This is obviously
not desirable, so this CL just removes the warning! The alternative would
have been to print a warning if the value is anything other than UNSEEKABLE,
but it doesn't really seem worth it.
This commit is contained in:
Oliver Woodman 2015-07-29 21:48:17 +01:00
parent 48826836d1
commit 2f0aec43ec

View file

@ -27,8 +27,6 @@ import com.google.android.exoplayer.upstream.DataSpec;
import com.google.android.exoplayer.util.ParsableByteArray;
import com.google.android.exoplayer.util.Util;
import android.util.Log;
import java.io.IOException;
/**
@ -36,8 +34,6 @@ import java.io.IOException;
*/
public class ContainerMediaChunk extends BaseMediaChunk implements SingleTrackOutput {
private static final String TAG = "ContainerMediaChunk";
private final ChunkExtractorWrapper extractorWrapper;
private final long sampleOffsetUs;
@ -96,7 +92,7 @@ public class ContainerMediaChunk extends BaseMediaChunk implements SingleTrackOu
@Override
public void seekMap(SeekMap seekMap) {
Log.w(TAG, "Ignoring unexpected seekMap");
// Do nothing.
}
@Override