[vdr] Status plugin interface bug?
C.Y.M
syphir at syphir.sytes.net
Mon Oct 31 22:56:53 CET 2005
Klaus Schmidinger wrote:
> Bernd Juraschek wrote:
>
>> Hi,
>>
>> recently I got the evil VDSB error (with kernel 2.4.X :-(). After self
>> restarting VDR continued the recording - but this fails with the "no
>> tuner lock" error.
>>
>> cStatus::Recording() was not called in this case. But the function was
>> called to signal the end of this (never really startet) timer. Therefore
>> there is a imbalance between start and stop status notifications - which
>> may lead to some plugin misbehavior :-(
>>
>> I'was not able to find quickly the way cTimer::Stop() was executed so I
>> have no solution yet ...
>
>
> Please try the following:
>
> - add a funtion
>
> bool IsAttached(void) { return device != NULL; }
>
> to cReceiver (in receiver.h)
>
> - call this function in cRecordControl::Stop():
>
I am confused as to where this new line above goes into receiver.h. Is it about
line 50 (just before virtual ~cReceiver)?
Regards,
More information about the vdr
mailing list