Commit 405a6bc2 authored by Christophe Massiot's avatar Christophe Massiot

* modules/demux/mpeg: 0x06 stream type can be used for something else

  than A/52, so disabled it for the moment (we should actually check for
  the presence of a descriptor).
parent 6cc05a56
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* system.c: helper module for TS, PS and PES management * system.c: helper module for TS, PS and PES management
***************************************************************************** *****************************************************************************
* Copyright (C) 1998-2002 VideoLAN * Copyright (C) 1998-2002 VideoLAN
* $Id: system.c,v 1.15 2003/07/03 00:11:38 fenrir Exp $ * $Id: system.c,v 1.16 2003/07/13 12:35:13 massiot Exp $
* *
* Authors: Christophe Massiot <massiot@via.ecp.fr> * Authors: Christophe Massiot <massiot@via.ecp.fr>
* Michel Lespinasse <walken@via.ecp.fr> * Michel Lespinasse <walken@via.ecp.fr>
...@@ -665,7 +665,6 @@ static void DecodePSM( input_thread_t * p_input, data_packet_t * p_data ) ...@@ -665,7 +665,6 @@ static void DecodePSM( input_thread_t * p_input, data_packet_t * p_data )
i_cat = AUDIO_ES; i_cat = AUDIO_ES;
break; break;
case A52_AUDIO_ES: case A52_AUDIO_ES:
case A52DVB_AUDIO_ES:
i_fourcc = VLC_FOURCC('a','5','2','b'); i_fourcc = VLC_FOURCC('a','5','2','b');
i_cat = AUDIO_ES; i_cat = AUDIO_ES;
break; break;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* system.h: MPEG demultiplexing. * system.h: MPEG demultiplexing.
***************************************************************************** *****************************************************************************
* Copyright (C) 1999-2002 VideoLAN * Copyright (C) 1999-2002 VideoLAN
* $Id: system.h,v 1.7 2003/03/18 23:59:07 massiot Exp $ * $Id: system.h,v 1.8 2003/07/13 12:35:13 massiot Exp $
* *
* Authors: Christophe Massiot <massiot@via.ecp.fr> * Authors: Christophe Massiot <massiot@via.ecp.fr>
* *
...@@ -46,7 +46,9 @@ ...@@ -46,7 +46,9 @@
#define MPEG2_VIDEO_ES 0x02 #define MPEG2_VIDEO_ES 0x02
#define MPEG1_AUDIO_ES 0x03 #define MPEG1_AUDIO_ES 0x03
#define MPEG2_AUDIO_ES 0x04 #define MPEG2_AUDIO_ES 0x04
#define A52DVB_AUDIO_ES 0x06 /* This one is "private PES". It may carry teletext and DVB, and we ought
* to check for the presence of a descriptor, but we don't. */
#define PESDVB_AUDIO_ES 0x06
#define MPEG4_VIDEO_ES 0x10 #define MPEG4_VIDEO_ES 0x10
#define MPEG4_AUDIO_ES 0x11 #define MPEG4_AUDIO_ES 0x11
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* mpeg_ts.c : Transport Stream input module for vlc * mpeg_ts.c : Transport Stream input module for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2000-2001 VideoLAN * Copyright (C) 2000-2001 VideoLAN
* $Id: ts.c,v 1.28 2003/06/25 19:28:10 fenrir Exp $ * $Id: ts.c,v 1.29 2003/07/13 12:35:13 massiot Exp $
* *
* Authors: Henri Fallon <henri@via.ecp.fr> * Authors: Henri Fallon <henri@via.ecp.fr>
* Johan Bilien <jobi@via.ecp.fr> * Johan Bilien <jobi@via.ecp.fr>
...@@ -656,7 +656,6 @@ static void TSDecodePMT( input_thread_t * p_input, es_descriptor_t * p_es ) ...@@ -656,7 +656,6 @@ static void TSDecodePMT( input_thread_t * p_input, es_descriptor_t * p_es )
i_cat = AUDIO_ES; i_cat = AUDIO_ES;
break; break;
case A52_AUDIO_ES: case A52_AUDIO_ES:
case A52DVB_AUDIO_ES:
if ( !b_vls_compat ) if ( !b_vls_compat )
i_fourcc = VLC_FOURCC('a','5','2',' '); i_fourcc = VLC_FOURCC('a','5','2',' ');
else else
...@@ -1317,7 +1316,6 @@ static void TS_DVBPSI_HandlePMT( input_thread_t * p_input, ...@@ -1317,7 +1316,6 @@ static void TS_DVBPSI_HandlePMT( input_thread_t * p_input,
i_cat = AUDIO_ES; i_cat = AUDIO_ES;
break; break;
case A52_AUDIO_ES: case A52_AUDIO_ES:
case A52DVB_AUDIO_ES:
if ( !b_vls_compat ) if ( !b_vls_compat )
i_fourcc = VLC_FOURCC('a','5','2',' '); i_fourcc = VLC_FOURCC('a','5','2',' ');
else else
...@@ -1604,7 +1602,6 @@ static void TS_DVBPSI_HandlePMT( input_thread_t * p_input, ...@@ -1604,7 +1602,6 @@ static void TS_DVBPSI_HandlePMT( input_thread_t * p_input,
strcat( psz_desc, " (lpcm)" ); strcat( psz_desc, " (lpcm)" );
break; break;
case A52_AUDIO_ES: case A52_AUDIO_ES:
case A52DVB_AUDIO_ES:
case A52B_AUDIO_ES: case A52B_AUDIO_ES:
strcat( psz_desc, " (A52)" ); strcat( psz_desc, " (A52)" );
break; break;
......
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