On Sat, May 19, 2012 at 12:30:43AM +0300, WinVDR wrote:
> To solve that problem we need to modify these functions and avoid
> using file descriptors:
> int cDevice::OpenFilter(u_short Pid, u_char Tid, u_char Mask);
> void cDevice::CloseFilter(int Handle);
> Does any body have suggestions about the best way to implement this.
We had the same problem with NetCeiver-plugin (full DVB-device emulation
over network). Everything is vdr is nicely abtracted and then there are
suddenly file handles instead of get-functions :-(
We've solved this issue by using pipes (Unix-sockets). This probably works
also on Windows...
You can have a look in filter.c of
Georg Acher, ac...@in.tum.de
"Oh no, not again !" The bowl of petunias
vdr mailing list