Skip to content

Commit

Permalink
Merge pull request #1324 from bbc/upstream/fix-infinite-end-and-duration
Browse files Browse the repository at this point in the history
fix: Unable to clear infinites
  • Loading branch information
jstarpl authored Nov 26, 2024
2 parents 89ddacf + a9daca2 commit c58d6ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/job-worker/src/playout/timeline/rundown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ function generateCurrentInfinitePieceObjects(
// If the cap is a number, it is relative to the part, not the parent group so needs to be handled here
if (typeof pieceInstance.resolvedEndCap === 'number') {
infiniteGroup.enable.end = `#${timingContext.currentPartGroup.id}.start + ${pieceInstance.resolvedEndCap}`
delete infiniteGroup.enable.duration
delete pieceInstanceWithUpdatedEndCap.resolvedEndCap
}
} else if (
Expand Down

0 comments on commit c58d6ba

Please sign in to comment.