project: share sequences across edit snapshots (fixtures.rs)

This commit is contained in:
David Campos 2026-10-09 19:27:15 +04:00 committed by GitHub
parent 101d2686ed
commit 510156ea01
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ pub fn big_project(n: usize) -> Project {
let seq_id = ItemId(21);
let mut next = 1_000_000u64;
let seq = match &mut p.items.get_mut(&seq_id).unwrap().kind {
ItemKind::Sequence(s) => s,
ItemKind::Sequence(s) => std::sync::Arc::make_mut(s),
_ => unreachable!(),
};
let v0 = seq.video_tracks[0].items[0].clone();