summaryrefslogtreecommitdiff
path: root/server/suspend.c
diff options
context:
space:
mode:
authorschmirl <schmirl>2008-04-07 14:27:27 +0000
committerschmirl <schmirl>2008-04-07 14:27:27 +0000
commitf51d6eb2dfb128a29db34b05d9b92a9633dd5b29 (patch)
tree328eeeb9761d13aede43a94598af3ffaedc9e202 /server/suspend.c
parent71cc16a1eb1774f9f20f8eed03b17af3e8691edc (diff)
downloadvdr-plugin-streamdev-f51d6eb2dfb128a29db34b05d9b92a9633dd5b29.tar.gz
vdr-plugin-streamdev-f51d6eb2dfb128a29db34b05d9b92a9633dd5b29.tar.bz2
- removed legacy code for pre VDR 1.4
- dropped patches for pre VDR 1.4
Diffstat (limited to 'server/suspend.c')
-rw-r--r--server/suspend.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/server/suspend.c b/server/suspend.c
index 8f6da38..541131c 100644
--- a/server/suspend.c
+++ b/server/suspend.c
@@ -1,5 +1,5 @@
/*
- * $Id: suspend.c,v 1.1 2004/12/30 22:44:21 lordjaxom Exp $
+ * $Id: suspend.c,v 1.2 2008/04/07 14:27:31 schmirl Exp $
*/
#include "server/suspend.h"
@@ -7,9 +7,7 @@
#include "common.h"
cSuspendLive::cSuspendLive(void)
-#if VDRVERSNUM >= 10300
: cThread("Streamdev: server suspend")
-#endif
{
}
@@ -33,19 +31,11 @@ void cSuspendLive::Stop(void) {
}
void cSuspendLive::Action(void) {
-#if VDRVERSNUM < 10300
- isyslog("Streamdev: Suspend Live thread started (pid = %d)", getpid());
-#endif
-
m_Active = true;
while (m_Active) {
DeviceStillPicture(suspend_mpg, sizeof(suspend_mpg));
usleep(100000);
}
-
-#if VDRVERSNUM < 10300
- isyslog("Streamdev: Suspend Live thread stopped");
-#endif
}
bool cSuspendCtl::m_Active = false;