Fix server-side add detector when setting time at the end of the video

This commit is contained in:
Ajay 2025-03-12 23:28:52 -04:00
parent b05d696057
commit 244cce56c0
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit d47ec4cca4480795fc524269d703c0d36aaeb402
Subproject commit b22477a8640b407910b24d5bec13d0d6d4d3cf01

View file

@ -2008,7 +2008,7 @@ function startOrEndTimingNewSegment() {
return;
}
verifyCurrentTime();
verifyCurrentTime(getRealCurrentTime());
const roundedTime = Math.round((getRealCurrentTime() + Number.EPSILON) * 1000) / 1000;
if (!isSegmentCreationInProgress()) {
sponsorTimesSubmitting.push({