From de2160ab643ea0f0d4fc0d05e3035735b0edab70 Mon Sep 17 00:00:00 2001 From: CastagnaIT Date: Fri, 10 Jul 2026 16:54:43 +0200 Subject: [PATCH] Revert "[Session] Add thread sleep when waiting for buffer" This reverts commit 2281ec165124c2d23eeaeb82f84470794f75f126. --- src/Session.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Session.cpp b/src/Session.cpp index 573f620fb..afbbb4bf9 100644 --- a/src/Session.cpp +++ b/src/Session.cpp @@ -828,8 +828,6 @@ bool SESSION::CSession::GetNextSample(ISampleReader*& sampleReader) if (waiting) { - // Prevents CPU usage spikes due to continuous Kodi VP requests - std::this_thread::sleep_for(std::chrono::milliseconds(10)); return true; } else if (res)