Mailing List archive

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

[vdr] Re: vdr 1.3.x: cDvbDevice::HasLock deliver wrong status



Hi,

On Tuesday 20 July 2004 22:10, Andreas Share wrote:

> Problem is, there are only one (or sometimes two) FE_READ_STATUS
> calls i get in the dvb_frontend_ioctl() funktion, i think this one
> came from "cDvbTuner::Action". So i think there is a problem with
> "cDvbDevice::HasLock".

I don't completly understand what you mean, but think it could be the delay 
at the end of the loop. WAIT_FOR_LOCK_AFTER_TUNING = 1 and the 
following change in cDvbTuner::Action(void)

        // in the beginning we loop more often to let the CAM connection start up fast
        bool fast = (tunerStatus == tsTuned) || (ciHandler && (time(NULL) - startTime < 20));
        newSet.TimedWait(mutex, fast ? 100 : 1000);

seems to solve my problems (so far). I have only one FF card.

Stefan




Home | Main Index | Thread Index