From ed4157eea73048aa0fb05f7880786a49bd0a10ba Mon Sep 17 00:00:00 2001 From: epbk Date: Tue, 31 Oct 2023 17:24:56 +0100 Subject: [PATCH] MP1-5179: EVR render statistics update. --- DirectShowFilters/DirectShowHelper/source/StatsRenderer.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/DirectShowFilters/DirectShowHelper/source/StatsRenderer.cpp b/DirectShowFilters/DirectShowHelper/source/StatsRenderer.cpp index 1e5de0b5308..7d8a43e98cf 100644 --- a/DirectShowFilters/DirectShowHelper/source/StatsRenderer.cpp +++ b/DirectShowFilters/DirectShowHelper/source/StatsRenderer.cpp @@ -283,8 +283,9 @@ void StatsRenderer::DrawStats() CLOCKDATA clockData; m_pPresenter->m_pAVSyncClock->GetClockData(&clockData); - strText.Format(_T("HW vs system: %.7fx HW vs. sys: %+.3f ms resampling adj.: %.7f Drift: %+.3f ms"), - clockData.driftMultiplier, clockData.driftHWvsSystem, clockData.resamplingAdjustment, clockData.currentDrift); + strText.Format(_T("HW vs system: %.7fx HW vs. sys: %+.3f ms resampling adj.: %.7f Drift: %+.3f ms Mode: %s"), + clockData.driftMultiplier, clockData.driftHWvsSystem, clockData.resamplingAdjustment, clockData.currentDrift, + clockData.maintainSoundPitch ? _T("TEMPO") : _T("RATE")); DrawText(rc, strText); OffsetRect(&rc, 0, TextHeight); }