diff --git a/softhdcuvid.cpp b/softhdcuvid.cpp index 76f19b1..f0a96d8 100644 --- a/softhdcuvid.cpp +++ b/softhdcuvid.cpp @@ -61,7 +61,7 @@ extern void ToggleLUT(); /// vdr-plugin version number. /// Makefile extracts the version number for generating the file name /// for the distribution archive. -static const char *const VERSION = "3.29" +static const char *const VERSION = "3.30" #ifdef GIT_REV "-GIT" GIT_REV #endif @@ -2960,7 +2960,6 @@ class cPluginSoftHdDevice : public cPlugin { virtual bool Start(void); virtual void Stop(void); virtual void Housekeeping(void); - virtual void MainThreadHook(void); virtual const char *MainMenuEntry(void); virtual cOsdObject *MainMenuAction(void); virtual cMenuSetupPage *SetupMenu(void); @@ -3129,21 +3128,6 @@ cOsdObject *cPluginSoftHdDevice::MainMenuAction(void) { return new cSoftHdMenu("SoftHdDevice"); } -/** -** Called for every plugin once during every cycle of VDR's main program -** loop. -*/ -void cPluginSoftHdDevice::MainThreadHook(void) { - // dsyslog("[softhddev]%s:\n", __FUNCTION__); - - if (DoMakePrimary) { - dsyslog("[softhddev]%s: switching primary device to %d\n", __FUNCTION__, DoMakePrimary); - cDevice::SetPrimaryDevice(DoMakePrimary); - DoMakePrimary = 0; - } - - ::MainThreadHook(); -} /** ** Return our setup menu. diff --git a/softhddev.c b/softhddev.c index 8c58813..2de4a89 100644 --- a/softhddev.c +++ b/softhddev.c @@ -3211,18 +3211,6 @@ void Housekeeping(void) { } } -/** -** Main thread hook, periodic called from main thread. -*/ -void MainThreadHook(void) { - if (Usr1Signal) { // x11 server ready - // FIYME: x11 server keeps sending sigusr1 signals - signal(SIGUSR1, SIG_IGN); // ignore further signals - Usr1Signal = 0; - StartVideo(); - VideoDisplayWakeup(); - } -} ////////////////////////////////////////////////////////////////////////////// // Suspend/Resume diff --git a/softhddev.h b/softhddev.h index e6aea21..5ccd02a 100644 --- a/softhddev.h +++ b/softhddev.h @@ -86,8 +86,6 @@ extern int Start(void); extern void Stop(void); /// C plugin house keeping extern void Housekeeping(void); -/// C plugin main thread hook -extern void MainThreadHook(void); /// Suspend plugin extern void Suspend(int, int, int);