diff --git a/src/ui/viewmodels/OverlayManager.cpp b/src/ui/viewmodels/OverlayManager.cpp index 60c3d150..c78ae6d2 100644 --- a/src/ui/viewmodels/OverlayManager.cpp +++ b/src/ui/viewmodels/OverlayManager.cpp @@ -873,7 +873,11 @@ void OverlayManager::ProcessScreenshots() } else { - RA_LOG_INFO("Image no longer available for %s", iter->second); + if (!pScreenshot.bDelayed) + { + pScreenshot.bDelayed = true; + RA_LOG_INFO("Image %s not available for %s", pImageReference.Name(), iter->second); + } ++iter; } } diff --git a/src/ui/viewmodels/OverlayManager.hh b/src/ui/viewmodels/OverlayManager.hh index b1323069..a571e40a 100644 --- a/src/ui/viewmodels/OverlayManager.hh +++ b/src/ui/viewmodels/OverlayManager.hh @@ -389,6 +389,7 @@ private: int nFrameId = 0; std::unique_ptr pScreen; std::map vMessages; + bool bDelayed = false; }; std::vector m_vScreenshotQueue; std::mutex m_pScreenshotQueueMutex;