mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-05-24 08:20:42 -04:00
frontend: Fix thumbnail update rate
This commit is contained in:
@@ -187,9 +187,9 @@ void ThumbnailManager::updateNextItem(size_t cycleDepth)
|
||||
}
|
||||
}
|
||||
|
||||
int nextIntervalMS = kMinimumThumbnailUpdateInterval;
|
||||
if (!priorityQueue.empty() && !quickUpdate) {
|
||||
nextIntervalMS = kThumbnailUpdateInterval;
|
||||
int nextIntervalMS = kThumbnailUpdateInterval;
|
||||
if (!priorityQueue.empty() || quickUpdate) {
|
||||
nextIntervalMS = kMinimumThumbnailUpdateInterval;
|
||||
}
|
||||
|
||||
updateTickInterval(nextIntervalMS);
|
||||
|
||||
Reference in New Issue
Block a user