Mailing List archive

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

[vdr] Re: cReceivers in plugins



Andreas Schultz wrote:
> 
> Hi,
> 
> Klaus Schmidinger wrote:
> 
> [...]
> 
> > This is kind of a "chicken & egg" problem, since the primary device might
> > be implemented through a plugin itself. I actually wonder why the line
> 
> I might be worth to implement a two-stage initialisation for plugins.
> Tell them in a first stage to initialize and register themself to vdr's
> core and then actually start them in a second stage. This way, device
> plugins could register in the first stage and plugins the use them would
> attach in the second stage.
> The cStatus approach appears a bit unclean, especially since there is
> nothing that guarantees that a channel switch will happen.

If no channel switch happens, what's the point in attaching a cReceiver?

The clean way _is_ to implement a cStatus class and monitor the device(s)
there.

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index