From 03d2e621cabd1160f7bc03708f7a772808df8533 Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Sat, 7 Jun 2025 11:23:11 +0000 Subject: [PATCH] kodi (Samsung): update patch since ce89e7d --- .../kodi/kodi-0002-LOCAL-changes-for-Odroid-XU3-XU4.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/projects/Samsung/patches/kodi/kodi-0002-LOCAL-changes-for-Odroid-XU3-XU4.patch b/projects/Samsung/patches/kodi/kodi-0002-LOCAL-changes-for-Odroid-XU3-XU4.patch index 0f3df7e7f1..852ce0439a 100644 --- a/projects/Samsung/patches/kodi/kodi-0002-LOCAL-changes-for-Odroid-XU3-XU4.patch +++ b/projects/Samsung/patches/kodi/kodi-0002-LOCAL-changes-for-Odroid-XU3-XU4.patch @@ -201,8 +201,8 @@ index 5267c93c8f..bc0a9b1c96 100644 + * are no buffers available instead GEM buffers are running out, so we manually empty + * the buffers here for a maximum of three + */ -+ std::call_once( -+ flag, [this]() { CLog::Log(LOGDEBUG, "CGBMUtils - using {} buffers", MAX_SURFACE_BUFFERS); }); ++ std::call_once(flag, [this]() ++ { CLog::Log(LOGDEBUG, "CGBMUtils - using {} buffers", MAX_SURFACE_BUFFERS); }); + + if (m_buffers.size() >= MAX_SURFACE_BUFFERS) { @@ -211,8 +211,8 @@ index 5267c93c8f..bc0a9b1c96 100644 - * we have to release buffers. This means that the maximum amount of buffers had been reached. - * For mesa this should be 4 buffers but it may vary across other implementations. - */ -- std::call_once( -- flag, [this]() { CLog::Log(LOGDEBUG, "CGBMUtils - using {} buffers", m_buffers.size()); }); +- std::call_once(flag, [this]() +- { CLog::Log(LOGDEBUG, "CGBMUtils - using {} buffers", m_buffers.size()); }); - - m_buffers.pop(); + while (!m_buffers.empty())