Re: dvbdevice.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux