mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Moved calling PluginManager.MainThreadHook() to the end of the main loop
This commit is contained in:
parent
8433190d5a
commit
7010c67945
6
vdr.c
6
vdr.c
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
* The project's page is at http://www.cadsoft.de/vdr
|
* 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>
|
#include <getopt.h>
|
||||||
@ -830,8 +830,6 @@ int main(int argc, char *argv[])
|
|||||||
// Queued messages:
|
// Queued messages:
|
||||||
if (!Skins.IsOpen())
|
if (!Skins.IsOpen())
|
||||||
Skins.ProcessQueuedMessages();
|
Skins.ProcessQueuedMessages();
|
||||||
// Main thread hooks of plugins:
|
|
||||||
PluginManager.MainThreadHook();
|
|
||||||
// User Input:
|
// User Input:
|
||||||
cOsdObject *Interact = Menu ? Menu : cControl::Control();
|
cOsdObject *Interact = Menu ? Menu : cControl::Control();
|
||||||
eKeys key = Interface->GetKey((!Interact || !Interact->NeedsFastResponse()) && time(NULL) - LastCamMenu > LASTCAMMENUTIMEOUT);
|
eKeys key = Interface->GetKey((!Interact || !Interact->NeedsFastResponse()) && time(NULL) - LastCamMenu > LASTCAMMENUTIMEOUT);
|
||||||
@ -1168,6 +1166,8 @@ int main(int argc, char *argv[])
|
|||||||
PluginManager.Housekeeping();
|
PluginManager.Housekeeping();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// Main thread hooks of plugins:
|
||||||
|
PluginManager.MainThreadHook();
|
||||||
}
|
}
|
||||||
if (Interrupted)
|
if (Interrupted)
|
||||||
isyslog("caught signal %d", Interrupted);
|
isyslog("caught signal %d", Interrupted);
|
||||||
|
Loading…
Reference in New Issue
Block a user