summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2014-01-16 11:57:54 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2014-01-16 11:57:54 +0100
commit1df6a87249291566d978f3d104ca68dbb075b37b (patch)
tree06b09b7d54471b34156392055347fbc48da0b552 /vdr.c
parente02d608bce5e4c4f484f7e9bd81e23637968d10c (diff)
downloadvdr-1df6a87249291566d978f3d104ca68dbb075b37b.tar.gz
vdr-1df6a87249291566d978f3d104ca68dbb075b37b.tar.bz2
Now waiting explicitly until all CAM slots are ready before switching to the initial channel when VDR is started
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/vdr.c b/vdr.c
index a2ede09f..657bec7a 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.tvdr.de
*
- * $Id: vdr.c 3.7 2013/12/25 11:24:26 kls Exp $
+ * $Id: vdr.c 3.8 2014/01/16 11:25:03 kls Exp $
*/
#include <getopt.h>
@@ -810,6 +810,8 @@ int main(int argc, char *argv[])
if (!cDevice::WaitForAllDevicesReady(DEVICEREADYTIMEOUT))
dsyslog("not all devices ready after %d seconds", DEVICEREADYTIMEOUT);
+ if (!CamSlots.WaitForAllCamSlotsReady(DEVICEREADYTIMEOUT))
+ dsyslog("not all CAM slots ready after %d seconds", DEVICEREADYTIMEOUT);
if (*Setup.InitialChannel) {
if (isnumber(Setup.InitialChannel)) { // for compatibility with old setup.conf files
if (cChannel *Channel = Channels.GetByNumber(atoi(Setup.InitialChannel)))