diff options
author | Frank Schmirler <vdr@schmirler.de> | 2013-07-16 13:12:20 +0200 |
---|---|---|
committer | Frank Schmirler <vdr@schmirler.de> | 2013-07-16 13:12:20 +0200 |
commit | d7652d89ca79e30c6296ec71882b2de6b7728c63 (patch) | |
tree | dff49cf624877c1db4d2195c29dc9bab341a61ea | |
parent | b25e53c867d60914248623b626d1d98a1914d000 (diff) | |
download | vdr-plugin-streamdev-d7652d89ca79e30c6296ec71882b2de6b7728c63.tar.gz vdr-plugin-streamdev-d7652d89ca79e30c6296ec71882b2de6b7728c63.tar.bz2 |
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.
-rw-r--r-- | CONTRIBUTORS | 3 | ||||
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | server/suspend.c | 2 |
3 files changed, 6 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index e4aad04..ed94b7c 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -214,3 +214,6 @@ Chris Tallon macmenot for adapting Makefiles to VDR 1.7.36+ + +thomasjfox + for fixing cSuspendCtl preventing idle shutdown @@ -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 diff --git a/server/suspend.c b/server/suspend.c index b6e1382..fd351b6 100644 --- a/server/suspend.c +++ b/server/suspend.c @@ -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; } |