From f51d6eb2dfb128a29db34b05d9b92a9633dd5b29 Mon Sep 17 00:00:00 2001 From: schmirl Date: Mon, 7 Apr 2008 14:27:27 +0000 Subject: - removed legacy code for pre VDR 1.4 - dropped patches for pre VDR 1.4 --- server/suspend.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'server/suspend.c') 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; -- cgit v1.2.3