summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-08-04 14:57:29 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-08-04 14:57:29 +0200
commit15cc1733e0e7bf005362fad61a3ccbbefe1cbceb (patch)
tree7bab620fbfb760f31daa464445f791f3fc0cf322 /vdr.c
parent61ccfd5fab3e009bb6feda0647cd958107258819 (diff)
downloadvdr-15cc1733e0e7bf005362fad61a3ccbbefe1cbceb.tar.gz
vdr-15cc1733e0e7bf005362fad61a3ccbbefe1cbceb.tar.bz2
Changed the cDevice class to allow plugins to implement their own devices
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/vdr.c b/vdr.c
index 10c54f74..fa7429c1 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.117 2002/06/23 11:23:34 kls Exp $
+ * $Id: vdr.c 1.118 2002/08/04 09:56:30 kls Exp $
*/
#include <getopt.h>
@@ -33,6 +33,7 @@
#include "config.h"
#include "cutter.h"
#include "device.h"
+#include "dvbdevice.h"
#include "eitscan.h"
#include "i18n.h"
#include "interface.h"
@@ -326,11 +327,9 @@ int main(int argc, char *argv[])
// DVB interfaces:
- if (!cDevice::Initialize())
+ if (!cDvbDevice::Initialize())
return 2;
- cDevice::SetPrimaryDevice(Setup.PrimaryDVB);
-
cSIProcessor::Read();
// Start plugins:
@@ -338,6 +337,10 @@ int main(int argc, char *argv[])
if (!PluginManager.StartPlugins())
return 2;
+ // Primary device:
+
+ cDevice::SetPrimaryDevice(Setup.PrimaryDVB);
+
// OSD:
cOsd::Initialize();