Commit 0666e4f3 by falhassen Committed by Oliver Woodman

Override ChunkIndex#toString.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=193600860
parent f4ade38a
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
package com.google.android.exoplayer2.extractor; package com.google.android.exoplayer2.extractor;
import com.google.android.exoplayer2.util.Util; import com.google.android.exoplayer2.util.Util;
import java.util.Arrays;
/** /**
* Defines chunks of samples within a media stream. * Defines chunks of samples within a media stream.
...@@ -102,4 +103,19 @@ public final class ChunkIndex implements SeekMap { ...@@ -102,4 +103,19 @@ public final class ChunkIndex implements SeekMap {
} }
} }
@Override
public String toString() {
return "ChunkIndex("
+ "length="
+ length
+ ", sizes="
+ Arrays.toString(sizes)
+ ", offsets="
+ Arrays.toString(offsets)
+ ", timeUs="
+ Arrays.toString(timesUs)
+ ", durationsUs="
+ Arrays.toString(durationsUs)
+ ")";
}
} }
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