From 4b8e8e5d67db5321f54019a3d752169ab26ae7fd Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Fri, 28 Sep 2012 10:40:30 +0200 Subject: [PATCH] remove hardcoded blinking 'REC' flashing when the channel that is played is also being recorded --- xbmc/Application.cpp | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/xbmc/Application.cpp b/xbmc/Application.cpp index d8311ef7bf4a2..89b3ef9f5c418 100644 --- a/xbmc/Application.cpp +++ b/xbmc/Application.cpp @@ -2216,24 +2216,6 @@ bool CApplication::RenderNoPresent() bool hasRendered = g_windowManager.Render(); - // if we're recording an audio stream then show blinking REC - if (!g_graphicsContext.IsFullScreenVideo()) - { - if (m_pPlayer && m_pPlayer->IsRecording() ) - { - static int iBlinkRecord = 0; - iBlinkRecord++; - if (iBlinkRecord > 25) - { - CGUIFont* pFont = g_fontManager.GetFont("font13"); - CGUITextLayout::DrawText(pFont, 60, 50, 0xffff0000, 0, "REC", 0); - } - - if (iBlinkRecord > 50) - iBlinkRecord = 0; - } - } - g_graphicsContext.Unlock(); return hasRendered;