Hy
again 10x for advices.
Second take. atached you will fin an patch for vdr-reelchannelsan plugin to ad functionality for vdr-1.7.0 patched with h264 patch and multiproto driver.
patch is for vdr-reelchannelscan-0.4.1
Cheers Lucian
____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
diff -ruN ./notpatched/filter.c ./patched/filter.c --- ./notpatched/filter.c 2006-11-24 20:55:56.000000000 +0200 +++ ./patched/filter.c 2008-05-05 23:44:17.000000000 +0300 @@ -383,16 +383,17 @@ int Ppid = pmt.getPCRPid(); int Apids[MAXAPIDS + 1] = { 0 }; int Dpids[MAXDPIDS + 1] = { 0 }; -#if VDRVERSNUM >= 10332 + int Spids[MAXSPIDS + 1] = { 0 }; +#ifndef MAXLANGCODE2 +#define MAXLANGCODE2 4 +#endif char ALangs[MAXAPIDS + 1][MAXLANGCODE2] = { "" }; char DLangs[MAXDPIDS + 1][MAXLANGCODE2] = { "" }; -#else - char ALangs[MAXAPIDS + 1][4] = { "" }; - char DLangs[MAXDPIDS + 1][4] = { "" }; -#endif + char SLangs[MAXSPIDS][MAXLANGCODE2] = { "" }; int Tpid = 0; int NumApids = 0; int NumDpids = 0; + int NumSpids = 0; for (SI::Loop::Iterator it; pmt.streamLoop.getNext(stream, it); ) { // printf("PID: %5d %5d %2d %3d %3d\n", pmt.getServiceId(), stream.getPid(), stream.getStreamType(), pmt.getVersionNumber(), Channel->Number());//XXX switch (stream.getStreamType()) { @@ -436,6 +437,28 @@ case SI::AC3DescriptorTag: dpid = stream.getPid(); break; +#if VDRVERSNUM >= 10510 + case SI::SubtitlingDescriptorTag: + if (NumSpids < MAXSPIDS) { + Spids[NumSpids] = stream.getPid(); + SI::SubtitlingDescriptor *sd = (SI::SubtitlingDescriptor *)d; + SI::SubtitlingDescriptor::Subtitling sub; + char *s = SLangs[NumSpids]; + int n = 0; + for (SI::Loop::Iterator it; sd->subtitlingLoop.getNext(sub, it); ) { + if (sub.languageCode[0]) { + if (n > 0) + *s++ = '+'; + strn0cpy(s, I18nNormalizeLanguageCode(sub.languageCode), MAXLANGCODE1); + s += strlen(s); + if (n++ > 1) + break; + } + } + NumSpids++; + } + break; +#endif case SI::TeletextDescriptorTag: Tpid = stream.getPid(); break; @@ -463,7 +486,7 @@ delete d; } } - Channel->SetPids(Vpid, Vpid ? Ppid : 0, Apids, ALangs, Dpids, DLangs, Tpid); + Channel->SetPids(Vpid, Vpid ? Ppid : 0, Apids, ALangs, Dpids, DLangs, Spids, SLangs, Tpid); printf("#### %i %s %i %i SID %i\n",num,Channel->Name(),Vpid, Apids[0], Channel->Sid()); Channel->SetCaIds(CaDescriptors->CaIds()); Channel->SetCaDescriptors(CaDescriptorHandler.AddCaDescriptors(CaDescriptors)); diff -ruN ./notpatched/i18n.c ./patched/i18n.c --- ./notpatched/i18n.c 2006-11-04 17:25:09.000000000 +0200 +++ ./patched/i18n.c 2008-05-05 23:01:19.000000000 +0300 @@ -207,6 +207,28 @@ "", // Dansk "", // Èesky (Czech) }, + { "SearchMode$Auto NIT", + "NIT Automatik", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", // Hrvatski (Croatian) + "", // Eesti + "", // Dansk + "", // Èesky (Czech) + }, { "Manual", "Manuell", "", @@ -317,6 +339,28 @@ "", // Dansk "", // Èesky (Czech) }, + { "Tuner", + "Tuner", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", // Hrvatski (Croatian) + "", // Eesti + "", // Dansk + "", // Èesky (Czech) + }, { "Scanning on transponder", "Durchsuche Transponder", "", @@ -524,7 +568,7 @@ "", "", "", - "Haku käynnissä %s.\tOdota hetkinen...", + "", "", "", "", @@ -546,7 +590,7 @@ "", "", "", - "Haku käynnissä %s.\tOdota hetkinen...", + "", "", "", "", diff -ruN ./notpatched/transponders.c ./patched/transponders.c --- ./notpatched/transponders.c 2006-11-04 17:25:09.000000000 +0200 +++ ./patched/transponders.c 2008-05-05 22:58:40.000000000 +0300 @@ -119,8 +119,8 @@
bool cSatTransponder::SetTransponderData(cChannel *c, int Code) { - DLOG (DBG " SetSatTransponderData(s:%d,f:%d,p:%c,sRate:%d,fec%d", Code, frequency_, pol_, symbolrate_, fec_); - return c->SetSatTransponderData(Code, frequency_, pol_, symbolrate_, fec_); + DLOG (DBG " SetSatTransponderData(s:%d,f:%d,p:%c,sRate:%d,fec%d", Code, frequency_, pol_, symbolrate_, DVBFE_FEC_AUTO, DVBFE_MOD_AUTO, DVBFE_DELSYS_DVBS, DVBFE_ROLLOFF_UNKNOWN); + return c->SetSatTransponderData(Code, frequency_, pol_, symbolrate_, DVBFE_FEC_AUTO, DVBFE_MOD_AUTO, DVBFE_DELSYS_DVBS, DVBFE_ROLLOFF_UNKNOWN); }
@@ -221,9 +221,8 @@
// printf (DBG " SetTerrTransponderData(s:%d,f: %d ,BW: %d, mod %d, Hier %d\n,fec_h %d/l %d,G %d,T %d ", type, // frequency_, bandwidth_, modulation_, hierarchy_, fec_h_, fec_l_, guard_, transmission_); - return c->SetTerrTransponderData(type, frequency_, bandwidth_, modulation_, hierarchy_, fec_h_, - fec_l_, guard_, transmission_);// - + return c->SetTerrTransponderData(type, frequency_, bandwidth_, modulation_, hierarchy_, fec_h_, fec_l_, guard_, transmission_, DVBFE_ALPHA_1, DVBFE_STREAM_PRIORITY_HP); + } //----------- Class cCableTransponder ------------------------------
Hi
I have one reject
reelchannelscan-0.4.1# cat vdr-reelchannelscan-h264-multiproto.diff | patch
patching file filter.c patching file i18n.c patching file transponders.c Hunk #1 succeeded at 119 with fuzz 1. Hunk #2 FAILED at 221. 1 out of 2 hunks FAILED -- saving rejects to file transponders.c.rej
transponders.c.rej
*** 221,229 ****
// printf (DBG " SetTerrTransponderData(s:%d,f: %d ,BW: %d, mod %d, Hier %d\n,fec_h %d/l %d,G %d,T %d ", type, // frequency_, bandwidth_, modulation_, hierarchy_, fec_h_, fec_l_, guard_, transmission_); - return c->SetTerrTransponderData(type, frequency_, bandwidth_, modulation_, hierarchy_, fec_h_, - fec_l_, guard_, transmission_);// - } //----------- Class cCableTransponder ------------------------------
reelchannelscan from here http://www.reelbox.org/software/source/vdr-plugins/vdr-reelchannelscan-0.4.1...
Igor
-----Original Message----- From: lucian orasanu o_lucian@yahoo.com To: vdr@linuxtv.org Date: Wed, 7 May 2008 10:57:19 -0700 (PDT) Subject: [vdr] vdr-reelchannelscan plugin
Hy
again 10x for advices.
Second take. atached you will fin an patch for vdr-reelchannelsan plugin to ad functionality for vdr-1.7.0 patched with h264 patch and multiproto driver.
patch is for vdr-reelchannelscan-0.4.1
Cheers Lucian
____________________________________________________________________________________
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
diff -ruN ./notpatched/filter.c ./patched/filter.c --- ./notpatched/filter.c 2006-11-24 20:55:56.000000000 +0200 +++ ./patched/filter.c 2008-05-05 23:44:17.000000000 +0300 @@ -383,16 +383,17 @@ int Ppid = pmt.getPCRPid(); int Apids[MAXAPIDS + 1] = { 0 }; int Dpids[MAXDPIDS + 1] = { 0 }; -#if VDRVERSNUM >= 10332
int Spids[MAXSPIDS + 1] = { 0 };
+#ifndef MAXLANGCODE2 +#define MAXLANGCODE2 4 +#endif char ALangs[MAXAPIDS + 1][MAXLANGCODE2] = { "" }; char DLangs[MAXDPIDS + 1][MAXLANGCODE2] = { "" }; -#else
char ALangs[MAXAPIDS + 1][4] = { "" };
char DLangs[MAXDPIDS + 1][4] = { "" };
-#endif
char SLangs[MAXSPIDS][MAXLANGCODE2] = { "" }; int Tpid = 0; int NumApids = 0; int NumDpids = 0;
int NumSpids = 0; for (SI::Loop::Iterator it; pmt.streamLoop.getNext(stream, it); ) {
// printf("PID: %5d %5d %2d %3d %3d\n", pmt.getServiceId(), stream.getPid(), stream.getStreamType(), pmt.getVersionNumber(), Channel->Number());//XXX switch (stream.getStreamType()) { @@ -436,6 +437,28 @@ case SI::AC3DescriptorTag: dpid = stream.getPid(); break; +#if VDRVERSNUM >= 10510
case SI::SubtitlingDescriptorTag:
if (NumSpids < MAXSPIDS) {
Spids[NumSpids] = stream.getPid();
SI::SubtitlingDescriptor *sd = (SI::SubtitlingDescriptor *)d;
SI::SubtitlingDescriptor::Subtitling sub;
char *s = SLangs[NumSpids];
int n = 0;
for (SI::Loop::Iterator it; sd->subtitlingLoop.getNext(sub, it); ) {
if (sub.languageCode[0]) {
if (n > 0)
*s++ = '+';
strn0cpy(s, I18nNormalizeLanguageCode(sub.languageCode), MAXLANGCODE1);
s += strlen(s);
if (n++ > 1)
break;
}
}
NumSpids++;
}
break;
+#endif case SI::TeletextDescriptorTag: Tpid = stream.getPid(); break; @@ -463,7 +486,7 @@ delete d; } }
Channel->SetPids(Vpid, Vpid ? Ppid : 0, Apids, ALangs, Dpids, DLangs, Tpid);
printf("#### %i %s %i %i SID %i\n",num,Channel->Name(),Vpid, Apids[0], Channel->Sid()); Channel->SetCaIds(CaDescriptors->CaIds()); Channel->SetCaDescriptors(CaDescriptorHandler.AddCaDescriptors(CaDescriptors));Channel->SetPids(Vpid, Vpid ? Ppid : 0, Apids, ALangs, Dpids, DLangs, Spids, SLangs, Tpid);
diff -ruN ./notpatched/i18n.c ./patched/i18n.c --- ./notpatched/i18n.c 2006-11-04 17:25:09.000000000 +0200 +++ ./patched/i18n.c 2008-05-05 23:01:19.000000000 +0300 @@ -207,6 +207,28 @@ "", // Dansk "", // хesky (Czech) },
- { "SearchMode$Auto NIT",
- "NIT Automatik",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "", // Hrvatski (Croatian)
- "", // Eesti
- "", // Dansk
- "", // хesky (Czech)
- }, { "Manual", "Manuell", "",
@@ -317,6 +339,28 @@ "", // Dansk "", // хesky (Czech) },
- { "Tuner",
- "Tuner",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "", // Hrvatski (Croatian)
- "", // Eesti
- "", // Dansk
- "", // хesky (Czech)
- }, { "Scanning on transponder", "Durchsuche Transponder", "",
@@ -524,7 +568,7 @@ "", "", "",
- "Haku kДynnissД %s.\tOdota hetkinen...",
- "", "", "", "",
@@ -546,7 +590,7 @@ "", "", "",
- "Haku kДynnissД %s.\tOdota hetkinen...",
- "", "", "", "",
diff -ruN ./notpatched/transponders.c ./patched/transponders.c --- ./notpatched/transponders.c 2006-11-04 17:25:09.000000000 +0200 +++ ./patched/transponders.c 2008-05-05 22:58:40.000000000 +0300 @@ -119,8 +119,8 @@
bool cSatTransponder::SetTransponderData(cChannel *c, int Code) {
- DLOG (DBG " SetSatTransponderData(s:%d,f:%d,p:%c,sRate:%d,fec%d", Code, frequency_, pol_, symbolrate_, fec_);
- return c->SetSatTransponderData(Code, frequency_, pol_, symbolrate_, fec_);
- DLOG (DBG " SetSatTransponderData(s:%d,f:%d,p:%c,sRate:%d,fec%d", Code, frequency_, pol_, symbolrate_, DVBFE_FEC_AUTO, DVBFE_MOD_AUTO, DVBFE_DELSYS_DVBS, DVBFE_ROLLOFF_UNKNOWN);
- return c->SetSatTransponderData(Code, frequency_, pol_, symbolrate_, DVBFE_FEC_AUTO, DVBFE_MOD_AUTO, DVBFE_DELSYS_DVBS, DVBFE_ROLLOFF_UNKNOWN);
}
@@ -221,9 +221,8 @@
// printf (DBG " SetTerrTransponderData(s:%d,f: %d ,BW: %d, mod %d, Hier %d\n,fec_h %d/l %d,G %d,T %d ", type, // frequency_, bandwidth_, modulation_, hierarchy_, fec_h_, fec_l_, guard_, transmission_);
- return c->SetTerrTransponderData(type, frequency_, bandwidth_, modulation_, hierarchy_, fec_h_,
fec_l_, guard_, transmission_);//
- return c->SetTerrTransponderData(type, frequency_, bandwidth_, modulation_, hierarchy_, fec_h_, fec_l_, guard_, transmission_, DVBFE_ALPHA_1, DVBFE_STREAM_PRIORITY_HP);
} //----------- Class cCableTransponder ------------------------------
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
btw - where's home page for reelchannelscan ?
the wiki's links don't work http://deela.cc.fh-lippe.de/files/vdr-reelchannelscan/vdr-reelchannelscan-0.... http://www.reel-multimedia.com/german/entwickler/d-plugins.html
the latest version is 0.4.3 ? where it is ?
Igor
http://dev.gentoo.org/~zzam/distfiles/vdr-reelchannelscan-0.4.3.tgz http://dev.gentoo.org/~zzam/distfiles/vdr-reelchannelscan-0.4.5.tar.bz2
Latest reelchannelscan you can find in SVN from Reel in testing trunk
Regards Oleg
9 мая 2008 г. 11:44 пользователь Igor goga777@bk.ru написал:
btw - where's home page for reelchannelscan ?
the wiki's links don't work http://deela.cc.fh-lippe.de/files/vdr-reelchannelscan/vdr-reelchannelscan-0.... http://www.reel-multimedia.com/german/entwickler/d-plugins.html
the latest version is 0.4.3 ? where it is ?
Igor
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Am Mittwoch 07 May 2008 schrieb lucian orasanu:
Hy
again 10x for advices.
Second take. atached you will fin an patch for vdr-reelchannelsan plugin to ad functionality for vdr-1.7.0 patched with h264 patch and multiproto driver.
patch is for vdr-reelchannelscan-0.4.1
0.4.1 is quite old now, 0.6.1 is the current version already prepared for S2-scan. Unfortunately I'm to busy to port/test it with vanilla vdr and multiproto drivers and make a new release. :(
So if someone wants to pull it out from svn and make some #defines for vdr 1.7/multiproto you would be welcome and i could include the patch in the svn.
regards, Tim