* control the pace of reading.
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
- * $Id: input_ext-intf.h,v 1.85 2003/02/08 22:20:28 massiot Exp $
+ * $Id: input_ext-intf.h,v 1.86 2003/03/09 23:39:05 jlj Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
#define REQUESTED_MPEG 1
#define REQUESTED_A52 2
#define REQUESTED_LPCM 3
+#define REQUESTED_DTS 4
#define REQUESTED_NOAUDIO 255
#define OFFSETTOTIME_MAX_SIZE 10
* ps.c : Program Stream input module for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
- * $Id: ps.c,v 1.8 2003/03/03 14:19:09 massiot Exp $
+ * $Id: ps.c,v 1.9 2003/03/09 23:39:05 jlj Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
}
break;
+ case VLC_FOURCC('d','t','s',' '):
+ case VLC_FOURCC('d','t','s','b'):
+ if( config_GetInt( p_input, "audio-channel" )
+ == ((p_es->i_id & 0x700) >> 8) ||
+ ( config_GetInt( p_input, "audio-channel" ) < 0
+ && !((p_es->i_id & 0x700) >> 8) ) )
+ switch( config_GetInt( p_input, "audio-type" ) )
+ {
+ case -1:
+ case REQUESTED_DTS:
+ input_SelectES( p_input, p_es );
+ }
+ break;
+
case VLC_FOURCC('a','5','2',' '):
case VLC_FOURCC('a','5','2','b'):
if( config_GetInt( p_input, "audio-channel" )
* system.c: helper module for TS, PS and PES management
*****************************************************************************
* Copyright (C) 1998-2002 VideoLAN
- * $Id: system.c,v 1.10 2003/02/08 19:10:21 massiot Exp $
+ * $Id: system.c,v 1.11 2003/03/09 23:39:05 jlj Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Michel Lespinasse <walken@via.ecp.fr>
case REQUESTED_MPEG:
input_SelectES( p_input, p_es );
}
+#endif
+ }
+ else if( (i_id & 0xF8FF) == 0x88BD )
+ {
+ p_es->i_fourcc = VLC_FOURCC('d','t','s','b');
+ p_es->i_cat = AUDIO_ES;
+#ifdef AUTO_SPAWN
+ if( !p_input->stream.b_seekable )
+ if( config_GetInt( p_input, "audio-channel" )
+ == ((p_es->i_id & 0x700) >> 8) ||
+ ( config_GetInt( p_input, "audio-channel" ) < 0
+ && !((p_es->i_id & 0x700) >> 8)) )
+ switch( config_GetInt( p_input, "audio-type" ) )
+ {
+ case -1:
+ case REQUESTED_DTS:
+ input_SelectES( p_input, p_es );
+ }
#endif
}
else if( (i_id & 0xF0FF) == 0x80BD )