fromDts

fun fromDts(dtsList: List<Long>, hasUnknownLastDelta: Boolean): TimeToSampleBox

Create a TimeToSampleBox from decoding times.

Return

a TimeToSampleBox

Parameters

dtsList

list of decoding times

hasUnknownLastDelta

true if last delta is unknown. It will be set to 0.