vdr format ;apid,apid;dpid:

I was not able to test this, as none of the Sirius or Thor
channels appear to have dolby.

VDR accepts more than one ac3_pid (dpid), are there more than one,
if yes then the handling should be array like audio_pids.

--
[EMAIL PROTECTED]     * Let all cats bloom *
  The Olde Farthe         *  Chinese prowerb   *

--- Begin Message ---
Index: DVB/apps/scan/dump-vdr.c
===================================================================
RCS file: /cvs/linuxtv/DVB/apps/scan/dump-vdr.c,v
retrieving revision 1.11
diff -u -p -r1.11 dump-vdr.c
--- DVB/apps/scan/dump-vdr.c    26 Jun 2003 13:23:30 -0000      1.11
+++ DVB/apps/scan/dump-vdr.c    1 Jul 2003 15:25:35 -0000
@@ -118,6 +118,7 @@ void vdr_dump_service_parameter_set (FIL
                                  int audio_num,
                                 int teletext_pid,
                                 int scrambled,
+                                int ac3_pid,
                                  int service_id,
                                 int network_id,
                                 int transport_stream_id,
@@ -140,6 +141,8 @@ void vdr_dump_service_parameter_set (FIL
                fprintf (f, "%i", audio_pid[0]);
                for (i = 1; i < audio_num; i++)
                        fprintf (f, ",%i", audio_pid[i]);
+               if (ac3_pid)
+                       fprintf (f, ";%i", ac3_pid);
                if (scrambled == 1) scrambled = ca_select;
                fprintf (f, ":%d:%d:%d:%d:%d:0", teletext_pid, scrambled,
                                service_id, network_id, transport_stream_id);
Index: DVB/apps/scan/dump-vdr.h
===================================================================
RCS file: /cvs/linuxtv/DVB/apps/scan/dump-vdr.h,v
retrieving revision 1.5
diff -u -p -r1.5 dump-vdr.h
--- DVB/apps/scan/dump-vdr.h    26 Jun 2003 13:23:30 -0000      1.5
+++ DVB/apps/scan/dump-vdr.h    1 Jul 2003 15:25:35 -0000
@@ -21,6 +21,7 @@ void vdr_dump_service_parameter_set (FIL
                                  int audio_num,
                                 int teletext_pid,
                                 int scrambled,
+                                int ac3_pid,
                                  int service_id,
                                 int network_id,
                                 int transport_stream_id,
Index: DVB/apps/scan/scan.c
===================================================================
RCS file: /cvs/linuxtv/DVB/apps/scan/scan.c,v
retrieving revision 1.39
diff -u -p -r1.39 scan.c
--- DVB/apps/scan/scan.c        30 Jun 2003 11:00:00 -0000      1.39
+++ DVB/apps/scan/scan.c        1 Jul 2003 15:25:36 -0000
@@ -1465,7 +1465,7 @@ void dump_lists (void)
                                                    s->teletext_pid,
                                                    s->scrambled,
                                                    //FIXME: s->subtitling_pid
-                                                   //FIXME: s->ac3_pid
+                                                   s->ac3_pid,
                                                     s->service_id,
                                                    t->network_id,
                                                    s->transport_stream_id,


--- End Message ---

Reply via email to