Commit de7ce38b authored by Rocky Bernstein's avatar Rocky Bernstein
Browse files

Recognize Philips Overlay Graphics (OGT) and Chaoji VCD (CVD) subtitle

streams.  Still need to be able to do something with them though.
parent 6e08e54f
......@@ -2,7 +2,7 @@
* system.c: helper module for TS, PS and PES management
*****************************************************************************
* Copyright (C) 1998-2002 VideoLAN
* $Id: system.c,v 1.23 2003/12/01 23:39:11 gbazin Exp $
* $Id: system.c,v 1.24 2003/12/06 05:15:54 rocky Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Michel Lespinasse <walken@via.ecp.fr>
......@@ -965,6 +965,23 @@ static es_descriptor_t * ParsePS( input_thread_t * p_input,
i_fourcc = VLC_FOURCC('l','p','c','b');
i_cat = AUDIO_ES;
}
else if( (i_id & 0xFFFF) == 0x70BD )
{
/* SVCD OGT subtitles in stream 0x070 */
i_fourcc = VLC_FOURCC('s','o','g','t');
i_cat = SPU_ES;
msg_Warn( p_input,
"SVCD OGT subtitles not implemented yet" );
}
else if( ((i_id >> 8) & 0xFF) <= 0x03 &&
(i_id & 0x00FF) == 0x00BD )
{
/* CVD subtitles (0x00->0x03) */
i_fourcc = VLC_FOURCC('s','c','v','d');
i_cat = SPU_ES;
msg_Warn( p_input,
"CVD subtitles not implemented yet" );
}
else
{
i_cat = UNKNOWN_ES;
......
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