Permalink
Browse files

Merge pull request #1495 from opdenkamp/removeblinkingrec

remove hardcoded blinking 'REC'
  • Loading branch information...
2 parents a2a7f52 + 4b8e8e5 commit f5ee842337a03449d98c3da155c08f09875b0a65 @opdenkamp opdenkamp committed Sep 28, 2012
Showing with 0 additions and 18 deletions.
  1. +0 −18 xbmc/Application.cpp
View
@@ -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;

0 comments on commit f5ee842

Please sign in to comment.