Finish the current video shot list before starting the next queued video.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -474,11 +474,12 @@ export function ensurePendingWatch(pending: PendingJob) {
|
||||
await onLiveVideoSettled(job)
|
||||
return
|
||||
}
|
||||
if (job.status === 'complete') {
|
||||
if (job.status === 'complete' && lastShot) {
|
||||
await onLiveVideoSettled(job)
|
||||
return
|
||||
}
|
||||
if (!lastShot) {
|
||||
if (job.status === 'complete') job.status = 'running'
|
||||
const { continueQueuedExtensionsIfNeeded } = await import('~/server/utils/videoChain')
|
||||
await continueQueuedExtensionsIfNeeded(job)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user