Commit 7369bb2a authored by Gildas Bazin's avatar Gildas Bazin

* include/input_ext-intf.h, include/vlc_es.h: moved ES categories into vlc_es.h
* modules/codec/lpcm.c: ported to the new decoders api + lpcm packetizer.
parent 348244d2
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* control the pace of reading. * control the pace of reading.
***************************************************************************** *****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN * Copyright (C) 1999, 2000 VideoLAN
* $Id: input_ext-intf.h,v 1.98 2003/11/16 21:07:30 gbazin Exp $ * $Id: input_ext-intf.h,v 1.99 2003/11/22 18:04:10 gbazin Exp $
* *
* Authors: Christophe Massiot <massiot@via.ecp.fr> * Authors: Christophe Massiot <massiot@via.ecp.fr>
* *
...@@ -86,14 +86,6 @@ struct es_descriptor_t ...@@ -86,14 +86,6 @@ struct es_descriptor_t
#define CONDITIONNAL_ACCESS_TABLE_PID 0x0001 /* not used */ #define CONDITIONNAL_ACCESS_TABLE_PID 0x0001 /* not used */
#define EMPTY_ID 0xffff /* empty record in a table */ #define EMPTY_ID 0xffff /* empty record in a table */
/* ES Categories to be used by interface plugins */
#define UNKNOWN_ES 0x00
#define VIDEO_ES 0x01
#define AUDIO_ES 0x02
#define SPU_ES 0x03
#define NAV_ES 0x04
/***************************************************************************** /*****************************************************************************
* pgrm_descriptor_t * pgrm_descriptor_t
***************************************************************************** *****************************************************************************
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* vlc_es.h * vlc_es.h
***************************************************************************** *****************************************************************************
* Copyright (C) 1999-2001 VideoLAN * Copyright (C) 1999-2001 VideoLAN
* $Id: vlc_es.h,v 1.2 2003/11/21 15:32:08 fenrir Exp $ * $Id: vlc_es.h,v 1.3 2003/11/22 18:04:10 gbazin Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* *
...@@ -118,6 +118,13 @@ struct es_format_t ...@@ -118,6 +118,13 @@ struct es_format_t
}; };
/* ES Categories */
#define UNKNOWN_ES 0x00
#define VIDEO_ES 0x01
#define AUDIO_ES 0x02
#define SPU_ES 0x03
#define NAV_ES 0x04
static inline void es_format_Init( es_format_t *fmt, static inline void es_format_Init( es_format_t *fmt,
int i_cat, vlc_fourcc_t i_codec ) int i_cat, vlc_fourcc_t i_codec )
{ {
......
This diff is collapsed.
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