From 2f0aec43ec24a04fd1a0a004e0dea9539df8a177 Mon Sep 17 00:00:00 2001 From: Oliver Woodman Date: Wed, 29 Jul 2015 21:48:17 +0100 Subject: [PATCH] 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. --- .../google/android/exoplayer/chunk/ContainerMediaChunk.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/library/src/main/java/com/google/android/exoplayer/chunk/ContainerMediaChunk.java b/library/src/main/java/com/google/android/exoplayer/chunk/ContainerMediaChunk.java index 031495e306..8b602cc22d 100644 --- a/library/src/main/java/com/google/android/exoplayer/chunk/ContainerMediaChunk.java +++ b/library/src/main/java/com/google/android/exoplayer/chunk/ContainerMediaChunk.java @@ -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