]> git.sesse.net Git - vlc/commitdiff
According to ISO 13818-1 page 34, ECM and EMM stream_id values are respectively 0xF0...
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 10 Aug 2008 18:42:34 +0000 (11:42 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 11 Aug 2008 15:41:55 +0000 (08:41 -0700)
Fix ECM/EMM values

Patch by Aurelien Nephtali. Close #1845

I also think that we should add "Private Stream 1"for 0xBD; but I am not sure.

modules/demux/ts.c

index f491ca59350529c84aaf6b8d2d74bae5d9f1a6cb..a4622318b2e3b4832f1037080d614fabb42a6163 100644 (file)
@@ -1670,8 +1670,8 @@ static void ParsePES( demux_t *p_demux, ts_pid_t *pid )
         case 0xBC:  /* Program stream map */
         case 0xBE:  /* Padding */
         case 0xBF:  /* Private stream 2 */
-        case 0xB0:  /* ECM */
-        case 0xB1:  /* EMM */
+        case 0xF0:  /* ECM */
+        case 0xF1:  /* EMM */
         case 0xFF:  /* Program stream directory */
         case 0xF2:  /* DSMCC stream */
         case 0xF8:  /* ITU-T H.222.1 type E stream */