[vdr] [ANNOUNCE] vdr-rotor support patches for VDR-1.5.14

Morfsta morfsta at gmail.com
Mon Jan 28 11:34:23 CET 2008


I got the following error when compiling 1.5.14 with h264 patch
applied and your VDR diff from the tgz: -

g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DREMOTE_KBD
-DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE
-DVIDEODIR=\"/video\" -DCONFDIR=\"/video\"
-DPLUGINDIR=\"./PLUGINS/lib\" -DLOCDIR=\"./locale\"
-I/usr/include/freetype2 -I/root/multiproto/linux/include device.c
device.c:793: error: prototype for âeSetChannelResult
cDevice::SetChannel(const cChannel*, bool)â does not match any in
class âcDeviceâ
device.h:255: error: candidate is: eSetChannelResult
cDevice::SetChannel(const cChannel*, bool, cDevice*)
device.c: In member function âeSetChannelResult
cDevice::SetChannel(const cChannel*, bool)â:
device.c:813: error: call of overloaded âSetChannel(const cChannel*&,
bool)â is ambiguous
device.h:255: note: candidates are: eSetChannelResult
cDevice::SetChannel(const cChannel*, bool, cDevice*)
device.c:793: note:                 eSetChannelResult
cDevice::SetChannel(const cChannel*, bool)
make: *** [device.o] Error 1

The following patch fixes it: -

--- device.c    2008-01-28 10:33:00.000000000 +0000
+++ device.c.new        2008-01-28 10:32:47.000000000 +0000
@@ -790,7 +790,7 @@ bool cDevice::SwitchChannel(int Directio
   return result;
 }

-eSetChannelResult cDevice::SetChannel(const cChannel *Channel, bool LiveView)
+eSetChannelResult cDevice::SetChannel(const cChannel *Channel, bool
LiveView, cDevice *SpecificSourceDevice)
 {
   if (LiveView) {
      StopReplay();

I'll test the functionality of the new rotor + patches shortly. I had
a brief look through the output, should it now be able to scan DVB-S2
transponders?

Thanks



On Jan 27, 2008 11:05 PM, Reinhard Nissl <rnissl at gmx.de> wrote:
> Hi,
>
> the attached patch is based on these files:
>
>        vdr-rotor-0.1.4-vdr1.5.tgz
>        rotor-0.1.4-vdr-15.12.diff
>
> For simplicity a patched version is attached too.
>
> NOTES:
> - I couldn't test with a real rotor device
> - I couldn't test with a FF card
>
> Have fun!
>
> Bye.
> --
> Dipl.-Inform. (FH) Reinhard Nissl
> mailto:rnissl at gmx.de
>
> _______________________________________________
> vdr mailing list
> vdr at linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>
>



More information about the vdr mailing list