Commit 7ae380a5 authored by Laurent Aimar's avatar Laurent Aimar

* ps.h: added cvt adn ogt.

parent df1f6e1c
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* ps.h: Program Stream demuxer helper * ps.h: Program Stream demuxer helper
***************************************************************************** *****************************************************************************
* Copyright (C) 2004 VideoLAN * Copyright (C) 2004 VideoLAN
* $Id: ps.h,v 1.1 2004/01/17 22:32:50 fenrir Exp $ * $Id: ps.h,v 1.2 2004/01/17 23:51:50 fenrir Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* *
...@@ -71,6 +71,14 @@ static inline int ps_track_fill( ps_track_t *tk, int i_id ) ...@@ -71,6 +71,14 @@ static inline int ps_track_fill( ps_track_t *tk, int i_id )
es_format_Init( &tk->fmt, AUDIO_ES, VLC_FOURCC( 'l', 'p', 'c', 'm' ) ); es_format_Init( &tk->fmt, AUDIO_ES, VLC_FOURCC( 'l', 'p', 'c', 'm' ) );
tk->i_skip = 1; tk->i_skip = 1;
} }
else if( ( i_id&0xff ) == 0x70 )
{
es_format_Init( &tk->fmt, SPU_ES, VLC_FOURCC( 'o', 'g', 't', ' ' ) );
}
else if( ( i_id&0xfc ) == 0x00 )
{
es_format_Init( &tk->fmt, SPU_ES, VLC_FOURCC( 'c', 'v', 'd', ' ' ) );
}
else else
{ {
es_format_Init( &tk->fmt, UNKNOWN_ES, 0 ); es_format_Init( &tk->fmt, UNKNOWN_ES, 0 );
......
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