Skip to content
This repository has been archived by the owner on Apr 15, 2023. It is now read-only.

Commit

Permalink
remove hardcoded blinking 'REC' flashing when the channel that is pla…
Browse files Browse the repository at this point in the history
…yed is also being recorded
  • Loading branch information
opdenkamp committed Sep 28, 2012
1 parent 96cb3a4 commit 4b8e8e5
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions xbmc/Application.cpp
Expand Up @@ -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;
Expand Down

1 comment on commit 4b8e8e5

@Memphiz
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 for removing that one.

Please sign in to comment.