[vdr] Status plugin interface bug?

Klaus Schmidinger Klaus.Schmidinger at cadsoft.de
Fri Nov 4 16:05:23 CET 2005


C.Y.M wrote:
> 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)?

Yes, you can put it there - or better _after_ that line (doesn't
make any difference, but that's e.g. where it is in player.h).

Klaus



More information about the vdr mailing list