[vdr] dvbdevice.c

Wolfgang Rohdewald wolfgang at rohdewald.de
Sat Jun 9 08:40:34 CEST 2012


in vdr-1.7.28 without patches

while browsing the log I found

Jun  9 05:28:08 server vdr: [13569] frontend 1/0 timed out while tuning to 
channel 1877, tp 212713
Jun  9 05:28:40 server vdr: [13569] frontend 1/0 regained lock on channel 14, 
tp 110743

so frontend 1 regained a lock it never had. That seems like a consequence
of the fact that LostLock is only a local variable in cDvbTuner::Action, so it
cannot be reset when the channel changes

also, I wonder about this code sequence in dvbdevice.c:

        switch (tunerStatus) {
...
          case tsLocked:
               if (Status & FE_REINIT) {
...
               else if (tunerStatus == tsLocked) {

at the "else if", how could tunerStatus not be tsLocked?

-- 
Wolfgang



More information about the vdr mailing list