[mythtv] [patch] dvb cam fixes

Daniel Sangenberg daniel at sangenberg.se
Wed Apr 7 21:49:54 EDT 2004

Kenneth Aafl°y wrote:
> On Thursday 08 April 2004 02:49, Daniel Sangenberg wrote:
>> Kenneth Aafl°y wrote:
>>> Hi!
>>> The attached patch fixes the issue Phillip (dunno he's last name)
>>> had a while back. He provided a patch (in private mail), but I just
>>> did it my way since I've not heard from him in a couple of weeks.
>>> It also fixes an issue where a cam (if multiple exist) could start
>>> outputting scrambled data, which would be mixed with the real
>>> decrypted stream from another cam. There also should be a CAM
>>> association method in MythTV, much like that of VDR, but I have no
>>> idea of how I want to do it. Any ideas/comments appreciated!
>> I thought i would give this a try and see if it fixes my cam
>> problems with viaccess but it fails to compile using a clean cvs
>> checkout from a few minutes ago.
>> dvbcam.cpp:207: error: `NeedCaPmt' undeclared (first use this
>> function)
> Sorry, forgot that I had other changes in my tree, the attached patch
> to dvbdev/dvbci.* adds the function.

Almost there, this is what i get after adding the latest patch.

g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer
`freetype-config --cflags` -D_REENTRANT -fPIC  -D_GNU_SOURCE -D_FILE_OFFSET_
QT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/loc
al/include -I../../../../dvb-cvs-2003-03-30/dvb-kernel/linux/include -I../li
bmyth -I.. -Idvbdev -I../libavcodec -I/usr/qt/3/include -o dvbcam.o
dvbcam.cpp: In member function `void DVBCam::CiHandlerLoop()':
dvbcam.cpp:275: error: `FindCaDescriptors' undeclared (first use this
dvbcam.cpp:275: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
dvbcam.cpp: At global scope:
dvbcam.cpp:313: error: no `bool DVBCam::FindCaDescriptors(cCiCaPmt&, const
   short unsigned int*, int)' member function declared in class `DVBCam'
dvbcam.cpp: In member function `bool DVBCam::FindCaDescriptors(cCiCaPmt&,
   short unsigned int*, int)':
dvbcam.cpp:313: warning: unused parameter `int slot'
make[2]: *** [dvbcam.o] Error 1
make[2]: Leaving directory
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/download/mythtv-cvs-2004-04-08/mythtv/libs'
make: *** [sub-libs] Error 2


More information about the mythtv-dev mailing list