summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-04-17 10:30:00 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-04-17 10:30:00 +0200
commit7010c6794596df5c85c6ebfdf6f290e25cabb031 (patch)
treeb1f5a3919160cbd1b951259fa0e836f62cd3e17e /vdr.c
parent8433190d5a461248552d3e41c5863ca608f12cda (diff)
downloadvdr-7010c6794596df5c85c6ebfdf6f290e25cabb031.tar.gz
vdr-7010c6794596df5c85c6ebfdf6f290e25cabb031.tar.bz2
Moved calling PluginManager.MainThreadHook() to the end of the main loop
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vdr.c b/vdr.c
index 2b8b484d..d655e736 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/vdr
*
- * $Id: vdr.c 1.261 2006/04/17 09:23:23 kls Exp $
+ * $Id: vdr.c 1.262 2006/04/17 10:30:00 kls Exp $
*/
#include <getopt.h>
@@ -830,8 +830,6 @@ int main(int argc, char *argv[])
// Queued messages:
if (!Skins.IsOpen())
Skins.ProcessQueuedMessages();
- // Main thread hooks of plugins:
- PluginManager.MainThreadHook();
// User Input:
cOsdObject *Interact = Menu ? Menu : cControl::Control();
eKeys key = Interface->GetKey((!Interact || !Interact->NeedsFastResponse()) && time(NULL) - LastCamMenu > LASTCAMMENUTIMEOUT);
@@ -1168,6 +1166,8 @@ int main(int argc, char *argv[])
PluginManager.Housekeeping();
}
}
+ // Main thread hooks of plugins:
+ PluginManager.MainThreadHook();
}
if (Interrupted)
isyslog("caught signal %d", Interrupted);