Hi Simon,
Simon Baxter wrote:
Hi. I've compiled this ok against 1.3.46, but am preparing to make the leap to 1.4.0.
Everything other plugin I use seems ok, except pvrinput
Plugin pvrinput: make[1]: Entering directory `/home/vdruser/vdr-1.4.0/PLUGINS/src/pvrinput-0.1.1' g++ -fPIC -g -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"pvrinput"' -I../../../../DVB/include -I../../../include -I../../../../DVB/include device.c device.c: In member function 'void cPvrReadThread::PesToTs(uint8_t*, uint32_t)' device.c:223: warning: large integer implicitly truncated to unsigned type device.c:255: warning: large integer implicitly truncated to unsigned type device.c: In member function 'virtual void cPvrReadThread::Action()': device.c:417: error: 'V4L2_BUF_TYPE_SLICED_VBI_CAPTURE' was not declared in this scope device.c:418: error: 'union v4l2_format::<anonymous>' has no member named 'sliced' device.c:418: error: 'V4L2_SLICED_TELETEXT_B' was not declared in this scope make[1]: *** [device.o] Error 1 make[1]: Leaving directory `/home/vdruser/vdr-1.4.0/PLUGINS/src/pvrinput-0.1.1'
Is this plugin not supported with my version of v4l?
Can anyone help?
It works for me on gentoo. However, on gentoo there is a patch regarding inclusion order of some headers for pvrinput (attached). Try this one first. If it doesn't help either, go one step further: Moreover, I also replaced ivtv.h and videodev2.h inside the pvrinput sources with the files supplied with the ivtv package I tried (0.6.2, 0.8 from CVS respectively), and the newer v4l-dvb fetched from HG (I think starting with ivtv-0.6.2 this is necessary). Try these one by one as described. Good luck!
Lucian