[vdr] [PATCH] DVB API wrapper patch v0.2 for VDR-1.5.14

Udo Richter udo_richter at gmx.de
Sun Feb 3 13:12:53 CET 2008


Hi list,


Based on the original DVB API patch of last week, I've done a cleaner 
rewrite of the patch. This time, the changes to the VDR sources are 
limited to a few #includes and replacements of ioctl calls by the new 
DVBFE_ioctl wrapper call. All the magic goes into this API wrapper, that 
translates multiproto calls into DVB 3.0 API calls.

There's also more control on the behavior. Adding DEFINES += 
-DDVB_MULTIPROTO_WRAPPER=1 to Make.config will enforce the API 
translation even if the multiproto API is present, setting it =0 will 
disable API translation, requiring the multiproto API to be present. By 
default, the present API is automatically detected, and the wrapper is 
enabled accordingly.

The patch currently doesn't translate the whole API, just the parts that 
are used by VDR. But if required, the missing parts can surely be 
integrated.


Cheers,

Udo
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vdr-1.5.14-dvb-api-wrapper-0.2.diff
Url: http://www.linuxtv.org/pipermail/vdr/attachments/20080203/cc75baac/attachment-0001.txt 


More information about the vdr mailing list