diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2014-01-16 11:57:54 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2014-01-16 11:57:54 +0100 |
commit | 1df6a87249291566d978f3d104ca68dbb075b37b (patch) | |
tree | 06b09b7d54471b34156392055347fbc48da0b552 /vdr.c | |
parent | e02d608bce5e4c4f484f7e9bd81e23637968d10c (diff) | |
download | vdr-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.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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))) |