[vdr] reelchannelscan for S2API-patched VDR

2008-10-17 Thread Frank Scherthan
Hi,

I patched the reelchannelscan-plugin to compile with my patched S2API-VDR.

What I use:
VDR 1.7.1 with
 - vdr-1.7.1_extensions.diff
 - vdr-1.7.1-ext_h264.diff
 - vdr-1.7.1-s2api-ext64.patch

reelchannelscan-plugin from svn
svn co svn://reelbox.org/testing/src/vdr-plugins/src/channelscan-0.6.1
-r9031

and my attached patch.

Beware: I DON'T KNOW WHAT I AM DOING HERE!
It compiles, it scans transponder and finds channels.
It works for me, but I'm no C or C++ programmer...

--
Frank Scherthan

diff -Nu channelscan-0.6.1/channelscan.c channelscan-0.6.1_fks/channelscan.c
--- channelscan-0.6.1/channelscan.c	2008-10-17 14:33:07.0 +0200
+++ channelscan-0.6.1_fks/channelscan.c	2008-10-17 13:57:11.0 +0200
@@ -74,9 +74,11 @@
 #ifdef REELVDR
 SetupStore(ServiceType, channelscan, ScanSetup.ServiceType);
 SetupStore(Logfile, channelscan, ScanSetup.EnableLogfile);
+	SetupStore(AddNewChannels, channelscan, ScanSetup.AddNewChannels);
 #else
 SetupStore(ServiceType, ScanSetup.ServiceType);
 SetupStore(Logfile, ScanSetup.EnableLogfile);
+	SetupStore(AddNewChannels, ScanSetup.AddNewChannels);
 #endif
 }
 
diff -Nu channelscan-0.6.1/channelscan.h channelscan-0.6.1_fks/channelscan.h
--- channelscan-0.6.1/channelscan.h	2008-10-17 14:33:07.0 +0200
+++ channelscan-0.6.1_fks/channelscan.h	2008-10-17 07:46:26.0 +0200
@@ -49,6 +49,8 @@
 int ServiceType;
 int EnableLogfile;
   std::string logfile;
+int AddNewChannels;
+
 };
 
 
diff -Nu channelscan-0.6.1/csmenu.c channelscan-0.6.1_fks/csmenu.c
--- channelscan-0.6.1/csmenu.c	2008-10-17 14:33:07.0 +0200
+++ channelscan-0.6.1_fks/csmenu.c	2008-10-17 07:46:24.0 +0200
@@ -164,7 +164,7 @@
 addNewChannelsToTexts[1] = tr(new channellist);
 addNewChannelsToTexts[2] = tr(bouquets);
 
-addNewChannelsTo = Setup.AddNewChannels==1?2:0;
+addNewChannelsTo = ScanSetup.AddNewChannels==1?2:0;
 
 scanMode = 1;   // auto scan
 
@@ -241,7 +241,8 @@
 
 else if (device-ProvidesSource(cSource::stSat))
 {
-if (device-ProvidesS2())
+//if (device-ProvidesS2())
+		if (1==1)
 {
 asprintf(txt, %s (%s %i), tr(DVB-S2 - Satellite),
  tr(Tuner), tuner + 1);
@@ -591,7 +592,7 @@
 switch( addNewChannelsTo )
 {
 case 0:
-Setup.AddNewChannels = 0;
+ScanSetup.AddNewChannels = 0;
 break;
 case 1: 
 //clear channellist
@@ -628,7 +629,7 @@
 // fallthrough: no break
 case 2:
 //add to own Bouquets
-Setup.AddNewChannels = 1;
+ScanSetup.AddNewChannels = 1;
 Setup.Save();
 break;
 default: 
@@ -1128,6 +1129,9 @@
 }
 }
 
+
+bool scanning_on_receiving_device;
+
 cMenuScanActive::~cMenuScanActive()
 {
 Scan-ShutDown();
diff -Nu channelscan-0.6.1/filter.c channelscan-0.6.1_fks/filter.c
--- channelscan-0.6.1/filter.c	2008-10-17 14:33:07.0 +0200
+++ channelscan-0.6.1_fks/filter.c	2008-10-17 07:46:25.0 +0200
@@ -677,7 +677,7 @@
 }
 }
 #if APIVERSNUM = 10509 || defined(REELVDR)
-Channel-SetPids(Vpid, Vpid ? Ppid : 0, Apids, ALangs, Dpids,
+Channel-SetPids(Vpid, Vpid ? Ppid : 0, 0, Apids, ALangs, Dpids,
  DLangs, Spids, SLangs, Tpid);
 #else
 Channel-SetPids(Vpid, Vpid ? Ppid : 0, Apids, ALangs, Dpids,
@@ -1233,7 +1233,7 @@
 
 // same as in channels.c
 static int CodeRates[] = { FEC_NONE, FEC_1_2, FEC_2_3, FEC_3_4, FEC_4_5, FEC_5_6, FEC_6_7, FEC_7_8, FEC_8_9,// DVB-S
-FEC_1_3, FEC_1_4, FEC_2_5, FEC_3_5, FEC_9_10,
+FEC_9_10,
 FEC_AUTO, FEC_AUTO, FEC_AUTO, FEC_AUTO, FEC_AUTO,
 FEC_NONE
 };  // DVB-S2
@@ -1255,8 +1255,8 @@
ts.getOriginalNetworkId());
 
 static int Rolloffs[] =
-{ FE_ROLLOFF_35, FE_ROLLOFF_25, FE_ROLLOFF_20,
-FE_ROLLOFF_35 };
+{ ROLLOFF_35, ROLLOFF_25, ROLLOFF_20,
+ROLLOFF_35 };
 
 
 int Modulation = QPSK;
@@ -1267,7 +1267,7 @@
  */
 
 static int ModulationsS2[] =
-{ QPSK, QPSK_S2, PSK8, QPSK,
+{ QPSK, PSK_8, QPSK,
 QPSK, QPSK, QPSK, QPSK
 };  // DVB-S2
 
Gemeinsame Unterverzeichnisse: channelscan-0.6.1/patches und channelscan-0.6.1_fks/patches.
Gemeinsame Unterverzeichnisse: channelscan-0.6.1/po und 

Re: [vdr] reelchannelscan for S2API-patched VDR

2008-10-17 Thread Goga777
Приветствую, Frank

thanks for your patch, but I couldn't compile it
I have

VDR 1.7.0 with s2api patch from Niels and h264 patch from Reinchard
gcc version 4.3.2 (Debian 4.3.2-1)


I have this error 

make[1]: Entering directory 
`/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1'
g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c -D_GNU_SOURCE 
-DPLUGIN_NAME_I18N='reelchannelscan' -DVDRDIR=\../../..\ 
-DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG -I../../../include -I../..//include 
channelscan.c
In file included from filter.h:42,
  from scan.h:34,
  from csmenu.h:42,
  from channelscan.c:31:
transponders.h:358: error: ISO C++ forbids declaration of ‘auto_ptr’ with no 
type
transponders.h:358: error: invalid use of ‘::’
transponders.h:358: error: expected ‘;’ before ‘’ token
transponders.h: In member function ‘void 
cTransponders::ResetNITStartTransponder(cSatTransponder*)’:
transponders.h:351: error: ‘nitStartTransponder_’ was not declared in this scope
transponders.h: In member function ‘cTransponder* 
cTransponders::GetNITStartTransponder()’:
transponders.h:406: error: ‘nitStartTransponder_’ was not declared in this scope
In file included from channelscan.c:31:
csmenu.h: At global scope:
csmenu.h:224: error: ISO C++ forbids declaration of ‘auto_ptr’ with no type
csmenu.h:224: error: invalid use of ‘::’
csmenu.h:224: error: expected ‘;’ before ‘’ token

I added #include memory in  transponders.h (thanks to free-x for advice) and 
I have others errors

Plugin reelchannelscan:
make[1]: Entering directory 
`/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1'
make[1]: Leaving directory `/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1'
make[1]: Entering directory 
`/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1'
g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c -D_GNU_SOURCE 
-DPLUGIN_NAME_I18N='reelchannelscan' -DVDRDIR=\../../..\ 
-DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG -I../../../include -I../..//include 
channelscan.c
g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c -D_GNU_SOURCE 
-DPLUGIN_NAME_I18N='reelchannelscan' -DVDRDIR=\../../..\ 
-DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG -I../../../include -I../..//include csmenu.c
csmenu.c: In member function ‘void cMenuScanActive::Setup()’:
csmenu.c:954: warning: deprecated conversion from string constant to ‘char*’
csmenu.c:954: warning: deprecated conversion from string constant to ‘char*’
csmenu.c:954: warning: deprecated conversion from string constant to ‘char*’
csmenu.c:954: warning: deprecated conversion from string constant to ‘char*’
g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c -D_GNU_SOURCE 
-DPLUGIN_NAME_I18N='reelchannelscan' -DVDRDIR=\../../..\ 
-DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG -I../../../include -I../..//include filter.c
filter.c: In member function ‘virtual void PatFilter::Process(u_short, u_char, 
const u_char*, int)’:
filter.c:681: error: no matching function for call to ‘cChannel::SetPids(int, 
int, int, int [33], char [33][8], int [17], char [17][8], int [33], char 
[33][8], int)’
../../../include/vdr/channels.h:232: note: candidates are: void 
cChannel::SetPids(int, int, int*, char (*)[8], int*, char (*)[8], int*, char 
(*)[8], int)
make[1]: *** [filter.o] Ошибка 1
make[1]: Leaving directory `/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1'


can someone to help me please

Goga





 
 reelchannelscan-plugin from svn
 svn co svn://reelbox.org/testing/src/vdr-plugins/src/channelscan-0.6.1
 -r9031
 
 and my attached patch.
 
 Beware: I DON'T KNOW WHAT I AM DOING HERE!
 It compiles, it scans transponder and finds channels.
 It works for me, but I'm no C or C++ programmer...

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] reelchannelscan for S2API-patched VDR

2008-10-17 Thread gimli
Hi,

you hit a problem with gcc 4.3 changes ;)

svn co
svn://reelbox.org/testing/src/vdr-plugins/src/channelscan-0.6.1 -r9040

The attached patch is absolutley untested. I may work or not.
Basicly it survives the compile test ;)

cu

Edgar (gimli) Hucek

Goga777 schrieb:
 Приветствую, Frank
 
 thanks for your patch, but I couldn't compile it
 I have
 
 VDR 1.7.0 with s2api patch from Niels and h264 patch from Reinchard
 gcc version 4.3.2 (Debian 4.3.2-1)
 
 
 I have this error 
 
 make[1]: Entering directory 
 `/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1'
 g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c 
 -D_GNU_SOURCE -DPLUGIN_NAME_I18N='reelchannelscan' -DVDRDIR=\../../..\ 
 -DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG -I../../../include -I../..//include 
 channelscan.c
 In file included from filter.h:42,
   from scan.h:34,
   from csmenu.h:42,
   from channelscan.c:31:
 transponders.h:358: error: ISO C++ forbids declaration of ‘auto_ptr’ with no 
 type
 transponders.h:358: error: invalid use of ‘::’
 transponders.h:358: error: expected ‘;’ before ‘’ token
 transponders.h: In member function ‘void 
 cTransponders::ResetNITStartTransponder(cSatTransponder*)’:
 transponders.h:351: error: ‘nitStartTransponder_’ was not declared in this 
 scope
 transponders.h: In member function ‘cTransponder* 
 cTransponders::GetNITStartTransponder()’:
 transponders.h:406: error: ‘nitStartTransponder_’ was not declared in this 
 scope
 In file included from channelscan.c:31:
 csmenu.h: At global scope:
 csmenu.h:224: error: ISO C++ forbids declaration of ‘auto_ptr’ with no type
 csmenu.h:224: error: invalid use of ‘::’
 csmenu.h:224: error: expected ‘;’ before ‘’ token
 
 I added #include memory in  transponders.h (thanks to free-x for advice) 
 and I have others errors
 
 Plugin reelchannelscan:
 make[1]: Entering directory 
 `/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1'
 make[1]: Leaving directory 
 `/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1'
 make[1]: Entering directory 
 `/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1'
 g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c 
 -D_GNU_SOURCE -DPLUGIN_NAME_I18N='reelchannelscan' -DVDRDIR=\../../..\ 
 -DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG -I../../../include -I../..//include 
 channelscan.c
 g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c 
 -D_GNU_SOURCE -DPLUGIN_NAME_I18N='reelchannelscan' -DVDRDIR=\../../..\ 
 -DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG -I../../../include -I../..//include 
 csmenu.c
 csmenu.c: In member function ‘void cMenuScanActive::Setup()’:
 csmenu.c:954: warning: deprecated conversion from string constant to ‘char*’
 csmenu.c:954: warning: deprecated conversion from string constant to ‘char*’
 csmenu.c:954: warning: deprecated conversion from string constant to ‘char*’
 csmenu.c:954: warning: deprecated conversion from string constant to ‘char*’
 g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c 
 -D_GNU_SOURCE -DPLUGIN_NAME_I18N='reelchannelscan' -DVDRDIR=\../../..\ 
 -DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG -I../../../include -I../..//include 
 filter.c
 filter.c: In member function ‘virtual void PatFilter::Process(u_short, 
 u_char, const u_char*, int)’:
 filter.c:681: error: no matching function for call to 
 ‘cChannel::SetPids(int, int, int, int [33], char [33][8], int [17], char 
 [17][8], int [33], char [33][8], int)’
 ../../../include/vdr/channels.h:232: note: candidates are: void 
 cChannel::SetPids(int, int, int*, char (*)[8], int*, char (*)[8], int*, char 
 (*)[8], int)
 make[1]: *** [filter.o] Ошибка 1
 make[1]: Leaving directory 
 `/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1'
 
 
 can someone to help me please
 
 Goga
 
 
 
 
 
 reelchannelscan-plugin from svn
 svn co svn://reelbox.org/testing/src/vdr-plugins/src/channelscan-0.6.1
 -r9031

 and my attached patch.

 Beware: I DON'T KNOW WHAT I AM DOING HERE!
 It compiles, it scans transponder and finds channels.
 It works for me, but I'm no C or C++ programmer...
 
 ___
 vdr mailing list
 vdr@linuxtv.org
 http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

diff -uNr channelscan-0.6.1/channelscan.c channelscan-0.6.1.patched/channelscan.c
--- channelscan-0.6.1/channelscan.c	2008-10-17 17:48:21.0 +0200
+++ channelscan-0.6.1.patched/channelscan.c	2008-10-17 17:47:03.0 +0200
@@ -74,9 +74,11 @@
 #ifdef REELVDR
 SetupStore(ServiceType, channelscan, ScanSetup.ServiceType);
 SetupStore(Logfile, channelscan, ScanSetup.EnableLogfile);
+	SetupStore(AddNewChannels, channelscan, ScanSetup.AddNewChannels);
 #else
 SetupStore(ServiceType, ScanSetup.ServiceType);
 SetupStore(Logfile, ScanSetup.EnableLogfile);
+	SetupStore(AddNewChannels, ScanSetup.AddNewChannels);
 #endif
 }
 
diff -uNr channelscan-0.6.1/channelscan.h channelscan-0.6.1.patched/channelscan.h
--- channelscan-0.6.1/channelscan.h	2008-10-17 

Re: [vdr] reelchannelscan for S2API-patched VDR

2008-10-17 Thread Goga777
Приветствую, gimli


no it doesn't help


make[1]: Entering directory `/usr/src/vdr170_0/PLUGINS/src/channelscan-0.6.1'
g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c -D_GNU_SOURCE 
-DPLUGIN_NAME_I18N='reelchannelscan' -DVDRDIR=\../../..\ 
-DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG -I../../../include -I../..//include 
channelscan.c
g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c -D_GNU_SOURCE 
-DPLUGIN_NAME_I18N='reelchannelscan' -DVDRDIR=\../../..\ 
-DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG -I../../../include -I../..//include csmenu.c
csmenu.c: In member function ‘void cMenuScanActive::Setup()’:
csmenu.c:954: warning: deprecated conversion from string constant to ‘char*’
csmenu.c:954: warning: deprecated conversion from string constant to ‘char*’
csmenu.c:954: warning: deprecated conversion from string constant to ‘char*’
csmenu.c:954: warning: deprecated conversion from string constant to ‘char*’
g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c -D_GNU_SOURCE 
-DPLUGIN_NAME_I18N='reelchannelscan' -DVDRDIR=\../../..\ 
-DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG -I../../../include -I../..//include filter.c
filter.c: In member function ‘virtual void PatFilter::Process(u_short, u_char, 
const u_char*, int)’:
filter.c:681: error: no matching function for call to ‘cChannel::SetPids(int, 
int, int, int [33], char [33][8], int [17], char [17][8], int [33], char 
[33][8], int)’
../../../include/vdr/channels.h:232: note: candidates are: void 
cChannel::SetPids(int, int, int*, char (*)[8], int*, char (*)[8], int*, char 
(*)[8], int)
make[1]: *** [filter.o] Ошибка 1
make[1]: Leaving directory `/usr/src/vdr170_0/PLUGINS/src/channelscan-0.6.1'





 you hit a problem with gcc 4.3 changes ;)
 
 svn co
 svn://reelbox.org/testing/src/vdr-plugins/src/channelscan-0.6.1 -r9040
 
 The attached patch is absolutley untested. I may work or not.
 Basicly it survives the compile test ;)
 
 cu
 
 Edgar (gimli) Hucek
 

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] reelchannelscan for S2API-patched VDR

2008-10-17 Thread gimli
You compile against vdr 1.7.0 ?

 Приветствую, gimli


 no it doesn't help


 make[1]: Entering directory
 `/usr/src/vdr170_0/PLUGINS/src/channelscan-0.6.1'
 g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c
 -D_GNU_SOURCE -DPLUGIN_NAME_I18N='reelchannelscan' -DVDRDIR=\../../..\
 -DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG -I../../../include -I../..//include
 channelscan.c
 g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c
 -D_GNU_SOURCE -DPLUGIN_NAME_I18N='reelchannelscan' -DVDRDIR=\../../..\
 -DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG -I../../../include -I../..//include
 csmenu.c
 csmenu.c: In member function ‘void cMenuScanActive::Setup()’:
 csmenu.c:954: warning: deprecated conversion from string constant to
 ‘char*’
 csmenu.c:954: warning: deprecated conversion from string constant to
 ‘char*’
 csmenu.c:954: warning: deprecated conversion from string constant to
 ‘char*’
 csmenu.c:954: warning: deprecated conversion from string constant to
 ‘char*’
 g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c
 -D_GNU_SOURCE -DPLUGIN_NAME_I18N='reelchannelscan' -DVDRDIR=\../../..\
 -DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG -I../../../include -I../..//include
 filter.c
 filter.c: In member function ‘virtual void PatFilter::Process(u_short,
 u_char, const u_char*, int)’:
 filter.c:681: error: no matching function for call to
 ‘cChannel::SetPids(int, int, int, int [33], char [33][8], int [17],
 char [17][8], int [33], char [33][8], int)’
 ../../../include/vdr/channels.h:232: note: candidates are: void
 cChannel::SetPids(int, int, int*, char (*)[8], int*, char (*)[8], int*,
 char (*)[8], int)
 make[1]: *** [filter.o] Ошибка 1
 make[1]: Leaving directory
 `/usr/src/vdr170_0/PLUGINS/src/channelscan-0.6.1'





 you hit a problem with gcc 4.3 changes ;)

 svn co
 svn://reelbox.org/testing/src/vdr-plugins/src/channelscan-0.6.1 -r9040

 The attached patch is absolutley untested. I may work or not.
 Basicly it survives the compile test ;)

 cu

 Edgar (gimli) Hucek


 ___
 vdr mailing list
 vdr@linuxtv.org
 http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr




___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] reelchannelscan for S2API-patched VDR

2008-10-17 Thread gimli
Ok, now i tested the plugin on dvb-t, and it worked fine.
Maybe i'll also test dvb-s/dvb-s2.

cu

Edgar (gimli) Hucek
 Hi,

 you hit a problem with gcc 4.3 changes ;)

 svn co
 svn://reelbox.org/testing/src/vdr-plugins/src/channelscan-0.6.1 -r9040

 The attached patch is absolutley untested. I may work or not.
 Basicly it survives the compile test ;)

 cu

 Edgar (gimli) Hucek

 Goga777 schrieb:
 Приветствую, Frank

 thanks for your patch, but I couldn't compile it
 I have

 VDR 1.7.0 with s2api patch from Niels and h264 patch from Reinchard
 gcc version 4.3.2 (Debian 4.3.2-1)


 I have this error

 make[1]: Entering directory
 `/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1'
 g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c
 -D_GNU_SOURCE -DPLUGIN_NAME_I18N='reelchannelscan'
 -DVDRDIR=\../../..\ -DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG
 -I../../../include -I../..//include channelscan.c
 In file included from filter.h:42,
   from scan.h:34,
   from csmenu.h:42,
   from channelscan.c:31:
 transponders.h:358: error: ISO C++ forbids declaration of ‘auto_ptr’
 with no type
 transponders.h:358: error: invalid use of ‘::’
 transponders.h:358: error: expected ‘;’ before ‘’ token
 transponders.h: In member function ‘void
 cTransponders::ResetNITStartTransponder(cSatTransponder*)’:
 transponders.h:351: error: ‘nitStartTransponder_’ was not declared
 in this scope
 transponders.h: In member function ‘cTransponder*
 cTransponders::GetNITStartTransponder()’:
 transponders.h:406: error: ‘nitStartTransponder_’ was not declared
 in this scope
 In file included from channelscan.c:31:
 csmenu.h: At global scope:
 csmenu.h:224: error: ISO C++ forbids declaration of ‘auto_ptr’ with
 no type
 csmenu.h:224: error: invalid use of ‘::’
 csmenu.h:224: error: expected ‘;’ before ‘’ token

 I added #include memory in  transponders.h (thanks to free-x for
 advice) and I have others errors

 Plugin reelchannelscan:
 make[1]: Entering directory
 `/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1'
 make[1]: Leaving directory
 `/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1'
 make[1]: Entering directory
 `/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1'
 g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c
 -D_GNU_SOURCE -DPLUGIN_NAME_I18N='reelchannelscan'
 -DVDRDIR=\../../..\ -DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG
 -I../../../include -I../..//include channelscan.c
 g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c
 -D_GNU_SOURCE -DPLUGIN_NAME_I18N='reelchannelscan'
 -DVDRDIR=\../../..\ -DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG
 -I../../../include -I../..//include csmenu.c
 csmenu.c: In member function ‘void cMenuScanActive::Setup()’:
 csmenu.c:954: warning: deprecated conversion from string constant to
 ‘char*’
 csmenu.c:954: warning: deprecated conversion from string constant to
 ‘char*’
 csmenu.c:954: warning: deprecated conversion from string constant to
 ‘char*’
 csmenu.c:954: warning: deprecated conversion from string constant to
 ‘char*’
 g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c
 -D_GNU_SOURCE -DPLUGIN_NAME_I18N='reelchannelscan'
 -DVDRDIR=\../../..\ -DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG
 -I../../../include -I../..//include filter.c
 filter.c: In member function ‘virtual void PatFilter::Process(u_short,
 u_char, const u_char*, int)’:
 filter.c:681: error: no matching function for call to
 ‘cChannel::SetPids(int, int, int, int [33], char [33][8], int [17],
 char [17][8], int [33], char [33][8], int)’
 ../../../include/vdr/channels.h:232: note: candidates are: void
 cChannel::SetPids(int, int, int*, char (*)[8], int*, char (*)[8], int*,
 char (*)[8], int)
 make[1]: *** [filter.o] Ошибка 1
 make[1]: Leaving directory
 `/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1'


 can someone to help me please

 Goga





 reelchannelscan-plugin from svn
 svn co svn://reelbox.org/testing/src/vdr-plugins/src/channelscan-0.6.1
 -r9031

 and my attached patch.

 Beware: I DON'T KNOW WHAT I AM DOING HERE!
 It compiles, it scans transponder and finds channels.
 It works for me, but I'm no C or C++ programmer...

 ___
 vdr mailing list
 vdr@linuxtv.org
 http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

 ___
 vdr mailing list
 vdr@linuxtv.org
 http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr




___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] reelchannelscan for S2API-patched VDR

2008-10-17 Thread Frank Scherthan
Goga777 schrieb:
 ???, Frank
 
 thanks for your patch, but I couldn't compile it
 I have
 
 VDR 1.7.0 with s2api patch from Niels and h264 patch from Reinchard
 gcc version 4.3.2 (Debian 4.3.2-1)
Please try gcc-4.1

It can be changed in Make.config or even in Makefile of the plugin.

Frank


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] HVR4000 and multifrontend

2008-10-17 Thread Fabio Bordin
Hello,
I need help to use dvb-t in vdr.
Now I use s2api with multifrontend enabled compiled from 
http://linuxtv.org/hg/~stoth/s2-mfe
(I also tried mfe patch against v4l version but i had same results)
With Kaffeine 0.8.3 I can use both frontends, dvb-s and dvb-t. It can 
search channels and let me see dvb-t.
Vdr (1.6.0 and 1.7.1 patched) do not let me use dvb-t channel I scanned.
I also tried do double the adapter with these commands:

mkdir /dev/dvb/adapter1
ln -s /dev/dvb/adapter0/frontend1 /dev/dvb/adapter1/frontend0
ln -s /dev/dvb/adapter0/net1 /dev/dvb/adapter1/net0
ln -s /dev/dvb/adapter0/dvr1 /dev/dvb/adapter1/dvr0
ln -s /dev/dvb/adapter0/demux1 /dev/dvb/adapter1/demux0

but vdr continues to ignore dvb-t channels while Kaffeine continues to 
work well.

Someone knows what I have to do to (finally) see dvb-t channel with vdr?

Tanks

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] reelchannelscan for S2API-patched VD R

2008-10-17 Thread Goga777
yes, with vdr 170 and h.264 patch from Reinchard Nissl

 You compile against vdr 1.7.0 ?
 
  п я п п п я я я п я я , gimli
 
 
  no it doesn't help
 
 
  make[1]: Entering directory
  `/usr/src/vdr170_0/PLUGINS/src/channelscan-0.6.1'
  g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr