[vlc-commits] PS: add alternative StreamID for VC-1 in evob

Jean-Baptiste Kempf git at videolan.org
Fri Aug 8 05:28:17 CEST 2014


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Aug  8 04:36:13 2014 +0200| [cb4ba4c076f2cb2716583a0ae74f167d3636c2a7] | committer: Jean-Baptiste Kempf

PS: add alternative StreamID for VC-1 in evob

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

 modules/demux/ps.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/demux/ps.h b/modules/demux/ps.h
index f85220b..8e1d218 100644
--- a/modules/demux/ps.h
+++ b/modules/demux/ps.h
@@ -132,7 +132,8 @@ static inline int ps_track_fill( ps_track_t *tk, ps_psm_t *p_psm, int i_id )
     else if( (i_id&0xff00) == 0xfd00 ) /* 0xFD00 -> 0xFDFF */
     {
         uint8_t i_sub_id = i_id & 0xff;
-        if( i_sub_id >= 0x55 && i_sub_id <= 0x5f )
+        if( i_sub_id >= 0x55 && i_sub_id <= 0x5f ||
+            i_sub_id >= 0x75 && i_sub_id <= 0x7f )
         {
             es_format_Init( &tk->fmt, VIDEO_ES, VLC_CODEC_VC1 );
         }



More information about the vlc-commits mailing list