diff --git a/render.py b/render.py index 6497e0d..d2c1d20 100644 --- a/render.py +++ b/render.py @@ -489,7 +489,7 @@ def render_all(options): os.makedirs(fragment_prefix, exist_ok=True) fragment_clips = fragment['clips'] used_ids = {c['id'] for c in clips_used} - unused_fragment_clips = [c for c in fragment_clips if c['id'] not in clips_used] + unused_fragment_clips = [c for c in fragment_clips if c['id'] not in used_ids] print('fragment clips', len(fragment_clips), 'unused', len(unused_fragment_clips)) print('--') print('Video:')