diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-10-14 15:46:48 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-10-14 15:46:48 +0000 |
commit | bcaee71a3a763a545e1f8457aca26dc679462677 (patch) | |
tree | 191c500351cb4073c6d998e6112a6b68f19790f4 /src/xine-engine/plugin_catalog.h | |
parent | de10300bdc6457c36598f4287d42c4a5b2e82d71 (diff) | |
download | xine-lib-bcaee71a3a763a545e1f8457aca26dc679462677.tar.gz xine-lib-bcaee71a3a763a545e1f8457aca26dc679462677.tar.bz2 |
introduction of xine_stream_t and async xine events - all still in developement
CVS patchset: 2828
CVS date: 2002/10/14 15:46:48
Diffstat (limited to 'src/xine-engine/plugin_catalog.h')
-rw-r--r-- | src/xine-engine/plugin_catalog.h | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/src/xine-engine/plugin_catalog.h b/src/xine-engine/plugin_catalog.h index 9e166d813..fd0581488 100644 --- a/src/xine-engine/plugin_catalog.h +++ b/src/xine-engine/plugin_catalog.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: plugin_catalog.h,v 1.5 2002/09/09 13:57:13 mroi Exp $ + * $Id: plugin_catalog.h,v 1.6 2002/10/14 15:47:39 guenter Exp $ * * xine-internal header: Definitions for plugin lists * @@ -36,26 +36,28 @@ #define PLUGINS_PER_TYPE 10 typedef struct { - char *filename; - plugin_info_t *info; - void *plugin; + char *filename; + plugin_info_t *info; + void *plugin_class; + int ref; /* count instances created of this plugin */ } plugin_node_t ; struct plugin_catalog_s { - xine_list_t *input; - xine_list_t *demux; - xine_list_t *spu; - xine_list_t *audio; - xine_list_t *video; - xine_list_t *aout; - xine_list_t *vout; + xine_list_t *input; + xine_list_t *demux; + xine_list_t *spu; + xine_list_t *audio; + xine_list_t *video; + xine_list_t *aout; + xine_list_t *vout; - plugin_node_t *audio_decoder_map[DECODER_MAX][PLUGINS_PER_TYPE]; - plugin_node_t *video_decoder_map[DECODER_MAX][PLUGINS_PER_TYPE]; - plugin_node_t *spu_decoder_map[DECODER_MAX][PLUGINS_PER_TYPE]; + plugin_node_t *audio_decoder_map[DECODER_MAX][PLUGINS_PER_TYPE]; + plugin_node_t *video_decoder_map[DECODER_MAX][PLUGINS_PER_TYPE]; + plugin_node_t *spu_decoder_map[DECODER_MAX][PLUGINS_PER_TYPE]; - const char *ids[PLUGIN_MAX]; + const char *ids[PLUGIN_MAX]; + pthread_mutex_t lock; }; typedef struct plugin_catalog_s plugin_catalog_t; |