Merge pull request #578 from KattKnight/footage-reload

This commit is contained in:
Claude
2026-10-10 12:50:18 +00:00
10 changed files with 522 additions and 37 deletions
+5
View File
@@ -326,6 +326,8 @@ impl MediaPool {
c.lru.remove(&k);
}
c.last.remove(path);
drop(c);
crate::exr_channels::forget(path);
}
/// Provide the contents of `path` from memory (used instead of the file system; web builds).
@@ -755,6 +757,9 @@ impl FootageSource for MediaPool {
fn purge(&self) {
self.clear_frames();
}
fn forget(&self, path: &str) {
MediaPool::forget(self, path);
}
fn cache_budget(&self) -> Option<usize> {
Some(self.budget())
}