Al 10/10/10 17:04, En/na Luca Olivetti ha escrit:
Al 10/10/10 16:39, En/na Luis Fernandes ha escrit:
hello,

just to say that in scanner.c
must contain this patch if relevant:

- Int Atypes [MAXDPIDS + 1] = {0};
+ Int Atypes [MAXAPIDS + 1] = {0};

and also

Dpids [NumDpids] = esPid;
+ Dtypes [NumDpids] = SI:: AC3DescriptorTag;
strn0cpy (DLangs [NumDpids], lang, MAXLANGCODE1);

and for cosmetic reasons I think this change should also contain in
both vdr, as in the plugin:

- Case 0x0F: / / ISO / IEC 13818-7 Audio with ADTS transport sytax
+ Case 0x0F: / / ISO / IEC 13818-7 Audio with ADTS transport syntax

if relevant.

Thank you, I took the relevant code from vdr-1.7.15 and didn't notice
the change in 1.7.16.
I'll try to keep the code in sync from now on, but I don't think I'll
make a release just for these changes.

Here is the patch.

Bye
--
Luca
diff -r 0ab3596d2708 -r f2e86b9ea741 scanner.c
--- a/scanner.c Sun Oct 10 17:05:54 2010 +0200
+++ b/scanner.c Sun Oct 10 17:07:12 2010 +0200
@@ -347,7 +347,7 @@ bool cChannelScanner::ParsePmt(const uns
         int Ppid = pmt.getPCRPid();
         int Vtype = 0;
         int Apids[MAXAPIDS + 1] = { 0 }; // these lists are zero-terminated
-        int Atypes[MAXDPIDS + 1] = { 0 };
+        int Atypes[MAXAPIDS + 1] = { 0 };
         int Dpids[MAXDPIDS + 1] = { 0 };
         int Dtypes[MAXDPIDS + 1] = { 0 };
         int Spids[MAXSPIDS + 1] = { 0 };
@@ -375,7 +375,7 @@ bool cChannelScanner::ParsePmt(const uns
                       break;
               case 3: // STREAMTYPE_11172_AUDIO
               case 4: // STREAMTYPE_13818_AUDIO
-              case 0x0F: // ISO/IEC 13818-7 Audio with ADTS transport sytax
+              case 0x0F: // ISO/IEC 13818-7 Audio with ADTS transport syntax
               case 0x11: // ISO/IEC 14496-3 Audio with LATM transport syntax
                       {
                       if (NumApids < MAXAPIDS) {
@@ -488,6 +488,7 @@ bool cChannelScanner::ParsePmt(const uns
                              }
                          if (NumDpids < MAXDPIDS) {
                             Dpids[NumDpids] = esPid;
+                            Dtypes[NumDpids] = SI::AC3DescriptorTag;
                             strn0cpy(DLangs[NumDpids], lang, MAXLANGCODE1);
                             NumDpids++;
                             }
_______________________________________________
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

Reply via email to