diff --git a/src/components/nodes/VideoStitchNode.tsx b/src/components/nodes/VideoStitchNode.tsx index 29a1d3dc..b40618d3 100644 --- a/src/components/nodes/VideoStitchNode.tsx +++ b/src/components/nodes/VideoStitchNode.tsx @@ -123,7 +123,7 @@ export function VideoStitchNode({ id, data, selected }: NodeProps orderedClips.map((c) => `${c.edgeId}:${c.videoData ? "1" : "0"}`).join(","), + () => orderedClips.map((c) => `${c.edgeId}:${c.videoData ? c.videoData.slice(-20) : "0"}`).join(","), [orderedClips] ); @@ -135,6 +135,7 @@ export function VideoStitchNode({ id, data, selected }: NodeProps { + thumbnailsRef.current = new Map(); const newThumbnails = new Map(); for (const clip of orderedClips) {