summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-05-16 12:27:58 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-05-16 12:27:58 +0200
commit6702994adc8ee6951484b9e6b9ab1131cfa6c876 (patch)
treece1dbce47ce18d87376b7c7108901b3e1c306068 /vdr.c
parent1c1fdc5a3f1096c7b2649a6817102685574671a5 (diff)
downloadvdr-6702994adc8ee6951484b9e6b9ab1131cfa6c876.tar.gz
vdr-6702994adc8ee6951484b9e6b9ab1131cfa6c876.tar.bz2
Moved the call to cPlugin::Start() further up in vdr.c, to make sure it gets called before trying to learn the keys
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/vdr.c b/vdr.c
index c969e6eb..7962c0a4 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/people/kls/vdr
*
- * $Id: vdr.c 1.154 2003/05/11 08:39:09 kls Exp $
+ * $Id: vdr.c 1.155 2003/05/16 12:11:45 kls Exp $
*/
#include <getopt.h>
@@ -399,6 +399,11 @@ int main(int argc, char *argv[])
Interface = new cInterface(SVDRPport);
+ // Start plugins:
+
+ if (!PluginManager.StartPlugins())
+ return 2;
+
// Remote Controls:
#if defined(REMOTE_RCU)
new cRcuRemote("/dev/ttyS1");
@@ -444,11 +449,6 @@ int main(int argc, char *argv[])
alarm(WatchdogTimeout); // Initial watchdog timer start
}
- // Start plugins:
-
- if (!PluginManager.StartPlugins())
- return 2;
-
// Main program loop:
cOsdObject *Menu = NULL;