[vlc-devel] commit: According to ISO 13818-1 page 34, ECM and EMM stream_id values are respectively 0xF0 and 0xF1 and not 0xB0/ 0xB1. (Jean-Baptiste Kempf )

git version control git at videolan.org
Mon Aug 11 17:39:11 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Aug 10 11:42:34 2008 -0700| [a75781bdb9ee8b7527a5a0dc917e19fe60c6e698] | committer: Jean-Baptiste Kempf 

According to ISO 13818-1 page 34, ECM and EMM stream_id values are respectively 0xF0 and 0xF1 and not 0xB0/0xB1.

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.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a75781bdb9ee8b7527a5a0dc917e19fe60c6e698
---

 modules/demux/ts.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index f491ca5..a462231 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -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 */




More information about the vlc-devel mailing list