Commit c66a9f43 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

PS: Fix H264 in evob

(cherry picked from commit 3b33cbca98e76ed3d65fabcf9efedcea415ffdf5)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent e33e5def
...@@ -190,6 +190,12 @@ static inline int ps_track_fill( ps_track_t *tk, ps_psm_t *p_psm, int i_id ) ...@@ -190,6 +190,12 @@ static inline int ps_track_fill( ps_track_t *tk, ps_psm_t *p_psm, int i_id )
{ {
es_format_Init( &tk->fmt, AUDIO_ES, VLC_CODEC_MPGA ); es_format_Init( &tk->fmt, AUDIO_ES, VLC_CODEC_MPGA );
} }
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 );
}
if( tk->fmt.i_cat == UNKNOWN_ES && ( i_id&0xf0 ) == 0xe0 ) if( tk->fmt.i_cat == UNKNOWN_ES && ( i_id&0xf0 ) == 0xe0 )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment