Mailing List archive

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

[vdr] Re: Where has "stop recording on primary card" gone?



Gregoire Favre wrote:
> 
> On Thu, Apr 24, 2003 at 08:41:00PM +0200, Klaus Schmidinger wrote:
> 
> > With the ability to resord and replay on the primary card
> > at the same time this option has become obsolete.
> 
> Well, of course I don't agree: just imagine someone with two cards, and
> two recording running, on the second card, it stop, and you want to
> watch another transponder or another satelite on the first one, then
> this option is still needed ;-)

Well, in that case VDR will go into Transfer Mode and fetch the channel
from the second device ;-)

> 
> > If you absolutely want to have it, you can change the line
> >
> >      cDevice *device = NULL;//XXX cDevice::GetDevice(cDevice::PrimaryDevice()->Ca(), 0);
> >
> > in VDR/menu.c into
> >
> >      cDevice *device = cDevice::GetDevice(cDevice::PrimaryDevice()->Ca(), 0);
> 
> Unfortunately, it doesn't compil for me:
> 
> g++ -mcpu=pentium4 -O3 -c -DREMOTE_KBD -DREMOTE_ -D_GNU_SOURCE -I../DVB/include menu.c
> menu.c: In static member function `static bool cRecordControls::StopPrimary(bool)':
> menu.c:3550: invalid conversion from `int' to `const cChannel*'
> menu.c:3550:   initializing argument 1 of `static cDevice* cDevice::GetDevice(const cChannel*, int, bool*)'
> make: *** [menu.o] Error 1
> 
> Without Elchi and other patch:
> 
> g++ -mcpu=pentium4 -O3 -c -DREMOTE_KBD -DREMOTE_ -D_GNU_SOURCE -I../DVB/include menu.c
> menu.c: In static member function `static bool cRecordControls::StopPrimary(bool)':
> menu.c:3071: invalid conversion from `int' to `const cChannel*'
> menu.c:3071:   initializing argument 1 of `static cDevice* cDevice::GetDevice(const cChannel*, int, bool*)'
> make: *** [menu.o] Error 1
> 
> Any idea why?

Oh, sorry, that line is pretty old and hasn't been updated when the interface
of cDevice::GetDevice() was changed.
I'm afraid then it won't work any more. Note that you actually don't need this
option any more (see above).

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 listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index