diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2003-04-12 12:20:07 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2003-04-12 12:20:07 +0200 |
commit | 00166dac5fce46cb15ec558f176d45f734f815e9 (patch) | |
tree | 7b344099f2fab0dc81792e9ce62bc15c7d3e178a /dvbosd.c | |
parent | f8a7e51d00d66f2fd71c9f5966a893c59485584b (diff) | |
download | vdr-00166dac5fce46cb15ec558f176d45f734f815e9.tar.gz vdr-00166dac5fce46cb15ec558f176d45f734f815e9.tar.bz2 |
If no device with an MPEG decoder can be found at startup, the first device is now used as primary device
Diffstat (limited to 'dvbosd.c')
-rw-r--r-- | dvbosd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbosd.c 1.20 2003/03/09 09:59:13 kls Exp $ + * $Id: dvbosd.c 1.21 2003/04/12 12:10:12 kls Exp $ */ #include "dvbosd.h" @@ -19,7 +19,7 @@ cDvbOsd::cDvbOsd(int x, int y) :cOsdBase(x, y) { osdDev = dvbDevice ? dvbDevice->OsdDeviceHandle() : -1; - if (osdDev < 0) + if (dvbDevice && osdDev < 0) esyslog("ERROR: illegal OSD device handle (%d)!", osdDev); } |