* input_ps.c: PS demux and packet management
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
- * $Id: input_ps.c,v 1.16 2000/12/28 17:57:39 massiot Exp $
+ * $Id: input_ps.c,v 1.17 2000/12/29 14:04:59 sam Exp $
*
* Authors:
*
{
input_SelectES( p_input, p_es );
}
+ break;
case DVD_SPU_ES:
- if( main_GetIntVariable( INPUT_DVD_SUBTITLE_VAR, 0 )
+ if( main_GetIntVariable( INPUT_DVD_SUBTITLE_VAR, -1 )
== ((p_es->i_id & 0x1F00) >> 8) )
{
input_SelectES( p_input, p_es );
}
+ break;
case LPCM_AUDIO_ES:
/* FIXME ! */
+ break;
}
}
* mpeg_system.c: TS, PS and PES management
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
- * $Id: mpeg_system.c,v 1.22 2000/12/29 10:52:40 massiot Exp $
+ * $Id: mpeg_system.c,v 1.23 2000/12/29 14:04:59 sam Exp $
*
* Authors:
*
/* Subtitles video (0x20->0x3F) */
p_es->i_type = DVD_SPU_ES;
#ifdef AUTO_SPAWN
- if( main_GetIntVariable( INPUT_DVD_SUBTITLE_VAR, 0 )
+ if( main_GetIntVariable( INPUT_DVD_SUBTITLE_VAR, -1 )
== ((p_es->i_id & 0x1F00) >> 8) )
{
if( !p_input->stream.b_seekable )