Merge pull request #1086 from vangel76/fix-1070-stale-footage-cache
This commit is contained in:
@@ -445,6 +445,11 @@ fn add_footage(s: &mut Session, pending: PendingImport, probed: Vec<std::result:
|
||||
let mut asked: Vec<u64> = vec![];
|
||||
let made: Vec<ItemId> = comps.iter().map(|c| ItemId(*c)).collect();
|
||||
if !found.is_empty() {
|
||||
// The file may have been overwritten since an earlier import or project decoded it (the
|
||||
// media layer keys frames by path): a fresh import reads it again (#1070).
|
||||
for f in &found {
|
||||
s.forget_decoded(&f.footage);
|
||||
}
|
||||
s.edit("Import", None, |proj, st| {
|
||||
let mut selection = made;
|
||||
for f in found {
|
||||
|
||||
Reference in New Issue
Block a user