render: handle missing cache frames

This commit is contained in:
itsmattkc
2022-06-06 20:06:55 -07:00
parent eeea16c5c3
commit 1b1259225e
2 changed files with 18 additions and 1 deletions
+4
View File
@@ -573,6 +573,10 @@ TexturePtr RenderProcessor::ProcessVideoCacheJob(const CacheJob &val)
tex->Upload(frame->data(), frame->linesize_pixels());
return tex;
}
} else {
QStringList s = ticket_->property("badcache").toStringList();
s.append(val.GetFilename());
ticket_->setProperty("badcache", s);
}
return nullptr;