From 07c035e659ec6d7cc9d0b360a4a825d0cc20b439 Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Thu, 4 Jan 2024 23:07:50 +0100 Subject: Core/SystemTimers: Refactor to class, move to System. --- Source/Core/VideoCommon/FrameDumpFFMpeg.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Source/Core/VideoCommon/FrameDumpFFMpeg.cpp') diff --git a/Source/Core/VideoCommon/FrameDumpFFMpeg.cpp b/Source/Core/VideoCommon/FrameDumpFFMpeg.cpp index d8049aeebd..760ae6f7e0 100644 --- a/Source/Core/VideoCommon/FrameDumpFFMpeg.cpp +++ b/Source/Core/VideoCommon/FrameDumpFFMpeg.cpp @@ -356,9 +356,10 @@ void FFMpegFrameDump::AddFrame(const FrameData& frame) return; // Calculate presentation timestamp from ticks since start. - const s64 pts = av_rescale_q(frame.state.ticks - m_context->start_ticks, - AVRational{1, int(SystemTimers::GetTicksPerSecond())}, - m_context->codec->time_base); + const s64 pts = av_rescale_q( + frame.state.ticks - m_context->start_ticks, + AVRational{1, int(Core::System::GetInstance().GetSystemTimers().GetTicksPerSecond())}, + m_context->codec->time_base); if (!IsFirstFrameInCurrentFile()) { -- cgit v1.2.3