Commit 2f0aec43 by Oliver Woodman

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.
parent 48826836
......@@ -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
......
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