Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Help Requested from the Dxr3 plugin maker and others C/C++ coders
On Samstag, 8. März 2003 00:14 Philippe wrote:
> I was wondering if you can help me to build another plugin based on this
> card.
> I don't want you to write a specific plugin, I just need some
> informations :
> - How can I start to write the device ?
> - Which part of the code is mandatory to have the display (without OSD
> etc ...)
> - ...
First of all - I only tried to write an output device myself once yet (which
has never been finished), so I'm just trying to give some help here ;) Don't
blame me if I'm incorrect ;)))
You need to create a cDevice-Derivation (your cEm84Device), which features the
methods mentiones in PLUGINS.html (Section "Devices", subsection
"Replaying"). Have a look at device.h for a brief description of what those
are supposed to do and dvbdevice.[ch] to see how it is actually implemented.
You don't need to patch VDR code as your Device is recognized as a valid
Output Device by VDR after it is loaded and Initialized (see PLUGINS.html,
Section "Devices", subsection "Initializing new devices").
For the OSD, your cEm84Device must feature cOsdBase *NewOsd(int,int), which
has to return at least some kind of dummy OSD, because VDR doesn't accept a
Primary- (that is the output-)Device without OSD capabilities.
Greetings,
Sascha Volkenandt
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index