fixed bug that prevented cached footage from being reused

This commit is contained in:
itsmattkc
2020-11-16 02:02:45 +11:00
parent 17b9a7e3ad
commit 39149d28c7
+1 -1
View File
@@ -116,7 +116,7 @@ void PreviewAutoCacher::GenerateHashes(ViewerOutput *viewer, FrameHashCache* cac
foreach (const rational& time, times) {
// See if hash already exists in disk cache
QByteArray hash = RenderManager::Hash(viewer, viewer->video_params(), time);
QByteArray hash = RenderManager::Hash(viewer->texture_input()->get_connected_node(), viewer->video_params(), time);
// Check memory list since disk checking is slow
bool hash_exists = (std::find(existing_hashes.begin(), existing_hashes.end(), hash) != existing_hashes.end());