audioplayer.cpp: ignore first keypress when screensaver is on

just quit the screensaver and return to loop


Origin commit data
------------------
Branch: ni/coolstream
Commit: 95b51f6993
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-02-19 (Tue, 19 Feb 2013)

Origin message was:
------------------
- audioplayer.cpp: ignore first keypress when screensaver is on

just quit the screensaver and return to loop


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2013-02-19 22:09:47 +01:00
parent 76d3e3f7b1
commit 0d6d5afd3e

View File

@@ -432,6 +432,11 @@ int CAudioPlayerGui::show()
if (m_screensaver)
{
screensaver(false);
if (msg < CRCInput::RC_MaxRC) {
// ignore first keypress - just quit the screensaver
g_RCInput->clearRCMsg();
continue;
}
}
}