mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
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:
parent
48826836d1
commit
2f0aec43ec
1 changed files with 1 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue