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?



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 ;-)

> 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?

	Grégoire
________________________________________________________________
http://ulima.unil.ch/greg ICQ:16624071 mailto:greg@ulima.unil.ch


--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index