Do not block while cancelling video cache tasks on LUT change

This commit is contained in:
2026-07-13 10:19:30 +08:00
parent a4aaf10357
commit fb50b5202e
+1 -1
View File
@@ -191,7 +191,7 @@ void OCIOLutNode::GenerateProcessor()
if (qobject_cast<QApplication *>(QCoreApplication::instance())) { if (qobject_cast<QApplication *>(QCoreApplication::instance())) {
if (RenderManager *rm = RenderManager::instance()) { if (RenderManager *rm = RenderManager::instance()) {
if (PreviewAutoCacher *cacher = rm->GetCacher()) { if (PreviewAutoCacher *cacher = rm->GetCacher()) {
cacher->CancelVideoTasks(true); cacher->CancelVideoTasks(false);
} }
} }
InvalidateAll(kTextureInput); InvalidateAll(kTextureInput);