cache: rehash on enable

This commit is contained in:
itsmattkc
2021-09-29 01:46:41 -07:00
parent 3cc1bfb249
commit 36d0c8203e
+1 -1
View File
@@ -741,7 +741,7 @@ void PreviewAutoCacher::ConformFinished()
void PreviewAutoCacher::VideoAutoCacheEnableChanged(bool e)
{
if (e) {
RequeueFrames();
VideoInvalidatedList(viewer_node_->video_frame_cache()->GetInvalidatedRanges(viewer_node_->GetVideoLength()));
} else {
CancelVideoTasks();
queued_frame_iterator_.reset();