[vlc-commits] PS: Support H264 from 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:42:48 2014 +0200| [3b33cbca98e76ed3d65fabcf9efedcea415ffdf5] | committer: Jean-Baptiste Kempf

PS: Support H264 from evob

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

 modules/demux/ps.h |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/modules/demux/ps.h b/modules/demux/ps.h
index 230b046..6df7ecd 100644
--- a/modules/demux/ps.h
+++ b/modules/demux/ps.h
@@ -183,6 +183,11 @@ static inline int ps_track_fill( ps_track_t *tk, ps_psm_t *p_psm, int i_id )
             {
                 es_format_Init( &tk->fmt, VIDEO_ES, VLC_CODEC_MPGV );
             }
+            else if( i_id == 0xe2 || /* Primary H.264 in evob */
+                     i_id == 0xe3 )  /* Seconday H.264 in evob */
+            {
+                es_format_Init( &tk->fmt, VIDEO_ES, VLC_CODEC_H264 );
+            }
             else if( tk->fmt.i_cat == UNKNOWN_ES )
             {
                 es_format_Init( &tk->fmt, VIDEO_ES, VLC_CODEC_MPGV );



More information about the vlc-commits mailing list