Override ChunkIndex#toString.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=193600860
This commit is contained in:
falhassen 2018-04-19 17:28:19 -07:00 committed by Oliver Woodman
parent f4ade38ae4
commit 0666e4f306

View File

@ -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 {
} }
} }
@Override
public String toString() {
return "ChunkIndex("
+ "length="
+ length
+ ", sizes="
+ Arrays.toString(sizes)
+ ", offsets="
+ Arrays.toString(offsets)
+ ", timeUs="
+ Arrays.toString(timesUs)
+ ", durationsUs="
+ Arrays.toString(durationsUs)
+ ")";
}
} }