Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ exports[`Lookahead got some objects 1`] = `
"disabled": false,
"enable": {
"end": "#piece1obj1.start",
"start": "#piece0obj0.start + 0",
"start": "#piece0obj0.start + 1",
},
"id": "lookahead_timed1_piece1obj1",
"isLookahead": true,
Expand Down Expand Up @@ -101,7 +101,7 @@ exports[`Lookahead got some objects 1`] = `
"disabled": false,
"enable": {
"end": "#piece0obj6.start",
"start": "#piece1obj5.start + 0",
"start": "#piece1obj5.start + 1",
},
"id": "lookahead_timed1_piece0obj6",
"isLookahead": true,
Expand All @@ -115,7 +115,7 @@ exports[`Lookahead got some objects 1`] = `
},
"disabled": false,
"enable": {
"start": "#piece0obj6.start + 0",
"start": "#piece0obj6.start + 1",
},
"id": "lookahead_future0_piece1obj7",
"isLookahead": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/job-worker/src/playout/lookahead/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ const calculateStartAfterPreviousObj = (
const prevHasDelayFlag = (prevObj.classes || []).indexOf('_lookahead_start_delay') !== -1

// Start with previous piece
const startOffset = prevHasDelayFlag ? 2000 : 0
const startOffset = prevHasDelayFlag ? 2000 : 1 // has to be 1, because 0 causes a clash with previous object in superfly-timeline
return {
start: `${getStartOfObjectRef(prevObj)} + ${startOffset}`,
}
Expand Down
Loading