MCPcopy Create free account
hub / github.com/IENT/YUView / onUpdateCacheStatus

Method onUpdateCacheStatus

YUViewLib/src/ui/widgets/VideoCacheInfoWidget.cpp:171–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171void VideoCacheInfoWidget::onUpdateCacheStatus()
172{
173 if (playlist == nullptr || cache == nullptr)
174 return;
175 if (!isVisible())
176 return;
177
178 playlist->updateCachingStatus();
179
180 DEBUG_CACHINGINFO("VideoCacheInfoWidget::updateCacheStatus");
181 statusWidget->updateStatus(playlist, cacheRateInBytesPerMs);
182
183 QStringList statusText = cache->getCacheStatusText();
184 cachingInfoLabel->setText(statusText.join("\n"));
185}

Callers

nothing calls this directly

Calls 4

updateCachingStatusMethod · 0.80
updateStatusMethod · 0.80
getCacheStatusTextMethod · 0.80
setTextMethod · 0.80

Tested by

no test coverage detected