Start cSuspendCtl hidden or it will prevent idle shutdown.

As long as a cControl is not hidden, cControl::Control() will return a value
and LastInteract is updated in the VDR main loop.
This commit is contained in:
Frank Schmirler 2013-07-16 13:12:20 +02:00
parent b25e53c867
commit d7652d89ca
3 changed files with 6 additions and 1 deletions

View File

@ -214,3 +214,6 @@ Chris Tallon
macmenot
for adapting Makefiles to VDR 1.7.36+
thomasjfox
for fixing cSuspendCtl preventing idle shutdown

View File

@ -1,6 +1,8 @@
VDR Plugin 'streamdev' Revision History
---------------------------------------
- Start cSuspendCtl hidden or it will prevent idle shutdown (thanks to
thomasjfox)
- Fixed recordings menu inode numbers: ino_t is a long long on some systems
- Updated Slovak translation (thanks to Milan Hrala)
- Adapted Makefiles to VDR 1.7.36+ (thanks to macmenot). Old makefiles have

View File

@ -39,7 +39,7 @@ void cSuspendLive::Action(void) {
bool cSuspendCtl::m_Active = false;
cSuspendCtl::cSuspendCtl(void):
cControl(m_Suspend = new cSuspendLive) {
cControl(m_Suspend = new cSuspendLive, true) {
m_Active = true;
}