User:ZorroIII/scan

From LinuxTVWiki
Jump to navigation Jump to search

Patch to allow scan to find mpeg4 streams, used in Norway.

--- old/linuxtv-dvb-apps-1.1.1/util/scan/scan.c 2006-05-18 01:33:25.000000000 +0200
+++ linuxtv-dvb-apps-1.1.1/util/scan/scan.c     2007-09-30 12:26:56.000000000 +0200
@@ -755,6 +755,7 @@
                switch (buf[0]) {
                case 0x01:
                case 0x02:
+               case 0x1b:
                        moreverbose("  VIDEO     : PID 0x%04x\n", elementary_pid);
                        if (s->video_pid == 0)
                                s->video_pid = elementary_pid;
@@ -762,6 +763,7 @@
                case 0x03:
                case 0x81: /* Audio per ATSC A/53B [2] Annex B */
                case 0x04:
+               case 0x11:
                        moreverbose("  AUDIO     : PID 0x%04x\n", elementary_pid);
                        if (s->audio_num < AUDIO_CHAN_MAX) {
                                s->audio_pid[s->audio_num] = elementary_pid;