Mailing List archive

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

[vdr] Re: prove of concept dxr3 plugin



On Monday 05 August 2002 19:50, Klaus Schmidinger wrote:
> Andreas Schultz wrote:
> > On Monday 05 August 2002 19:28, Andreas Schultz wrote:
> > > Hi all,
> > >
> > > A first version of the dxr3 plugin is avaliable. This is pre-alpha
> > > quality, it's not nearly finished, but transfer mode does already work
> > > (more or less). Also, most of the things discussed on the ML have not
> > > been integrated yet.
> > >
> > > Find the code at:
> > >    http://warp10.net/dvd/plugin-devel/dxr3-0.0.1.tar.bz2
> >
> > Ahrg, forgot to mention that you also need a small patch for vdr:
> >
> > --- 1.3/device.h        Sun Aug  4 18:02:19 2002
> > +++ edited/device.h     Mon Aug  5 18:51:08 2002
> > @@ -97,7 +97,7 @@
> >    bool IsPrimaryDevice(void) const { return this == primaryDevice; }
> >    int CardIndex(void) const { return cardIndex; }
> >           // Returns the card index of this device (0 ... MAXDEVICES -
> > 1). -  int ProvidesCa(int Ca);
> > +  virtual int ProvidesCa(int Ca);
> >           // Checks whether this device provides the given value in its
> >           // caCaps. Returns 0 if the value is not provided, 1 if only
> > this // value is provided, and > 1 if this and other values are provided.
>
> I really wonder why they would need that????
>
> The Ca handling is done entirely in the cDevice base class.
> What would your cDxr3Device have to do with that??

ProvidesCa assumes that FTA channels can be received on all devices, which is 
clearly not true for the Dxr3. So i just overwrite it. 

It's just a quick hack, but vdr tried to receive on the device.

Andreas
>
> Klaus

-- 
Andreas Schultz <aschultz@cs.uni-magdeburg.de>
Student of computer science

"In accordance with plans for Linux OS world domination
      infiltration of governments is vital (:-))."




Home | Main Index | Thread Index