From bcaee71a3a763a545e1f8457aca26dc679462677 Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Mon, 14 Oct 2002 15:46:48 +0000 Subject: introduction of xine_stream_t and async xine events - all still in developement CVS patchset: 2828 CVS date: 2002/10/14 15:46:48 --- src/xine-engine/plugin_catalog.h | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) (limited to 'src/xine-engine/plugin_catalog.h') 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; -- cgit v1.2.3