[vdr] dvbdevice.c

Reinhard Nissl rnissl at gmx.de
Sat Jun 9 11:24:22 CEST 2012


Hi,

Am 09.06.2012 08:40, schrieb Wolfgang Rohdewald:
> 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

Looks like LostLock should also be reset in case tsSet.

> 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?

In the case when the switch "falls through" from case tsTuned.

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl at gmx.de



More information about the vdr mailing list