math: revised timestamp calculations around epsilon

This commit is contained in:
itsmattkc
2022-05-29 11:13:05 -07:00
parent bbf6f8f9f9
commit 29908f2d8b
3 changed files with 33 additions and 3 deletions
+1 -1
View File
@@ -368,7 +368,7 @@ void TimeRangeListFrameIterator::UpdateIndexIfNecessary()
range_index_++;
if (range_index_ < list_.size()) {
current_ = Timecode::snap_time_to_timebase(list_.at(range_index_).in(), timebase_, Timecode::kRound);
current_ = Timecode::snap_time_to_timebase(list_.at(range_index_).in(), timebase_, Timecode::kCeil);
}
}
}