summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <kls (at) cadsoft (dot) de>2002-08-04 18:00:00 +0200
committerKlaus Schmidinger <kls (at) cadsoft (dot) de>2002-08-04 18:00:00 +0200
commit527748826c8d3cfacff8a7ab3fda9551c1182590 (patch)
tree4e753aa85bc11b44e078809b643b7e5d6be5fdd9 /vdr.c
parenta4112a96a67dbeb1cd6a63d2b4fa4b837462f467 (diff)
downloadvdr-patch-lnbsharing-527748826c8d3cfacff8a7ab3fda9551c1182590.tar.gz
vdr-patch-lnbsharing-527748826c8d3cfacff8a7ab3fda9551c1182590.tar.bz2
Version 1.1.6vdr-1.1.6
- Re-visited the race condition fix in the cDvbPlayer (thanks again to Andreas Schultz). - Changed the VFAT handling to allow users who normally use it but have forgotten to set it when compiling a new version of VDR to at least see their recordings made with VFAT enabled (thanks to Christian Rienecker). - Added some missing teletext PIDs (thanks to Joerg Riechardt). - Fixed PID handling for cReceiver. - Added a missing #include to ringbuffer.c (thanks to Martin Hammerschmid). - Now using CC, CFLAGS, CXX and CXXFLAGS in Makefile. - Changed the cDevice class to allow plugins to implement their own devices (see PLUGINS.html for details).
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 10c54f7..fa7429c 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();