Permalink
Browse files

remove hardcoded blinking 'REC' flashing when the channel that is pla…

…yed is also being recorded
  • Loading branch information...
1 parent 96cb3a4 commit 4b8e8e5d67db5321f54019a3d752169ab26ae7fd @opdenkamp committed Sep 28, 2012
Showing with 0 additions and 18 deletions.
  1. +0 −18 xbmc/Application.cpp
View
18 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;

1 comment on commit 4b8e8e5

@Memphiz
Collaborator

+1 for removing that one.

Please sign in to comment.