summaryrefslogtreecommitdiff
path: root/src/xine-engine/xine_plugin.h
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-11-19 20:35:07 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-11-19 20:35:07 +0000
commit39abca172b9f16055b228349e0666453facaeaef (patch)
treecd4f824b51c3288392db1083d0a381d133e7c3f7 /src/xine-engine/xine_plugin.h
parentd4b578a219b204f7170a7951d3f805a6cc938229 (diff)
downloadxine-lib-39abca172b9f16055b228349e0666453facaeaef.tar.gz
xine-lib-39abca172b9f16055b228349e0666453facaeaef.tar.bz2
resort decoders on priority change event. Small beautification of xine_plugin.h.
CVS patchset: 5765 CVS date: 2003/11/19 20:35:07
Diffstat (limited to 'src/xine-engine/xine_plugin.h')
-rw-r--r--src/xine-engine/xine_plugin.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/src/xine-engine/xine_plugin.h b/src/xine-engine/xine_plugin.h
index 823448b50..f59f2f870 100644
--- a/src/xine-engine/xine_plugin.h
+++ b/src/xine-engine/xine_plugin.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: xine_plugin.h,v 1.9 2003/01/03 22:38:29 miguelfreitas Exp $
+ * $Id: xine_plugin.h,v 1.10 2003/11/19 20:35:07 f1rmb Exp $
*
* generic plugin definitions
*
@@ -44,35 +44,36 @@
#define PLUGIN_TYPE_MASK 127
typedef struct {
- uint8_t type; /* one of the PLUGIN_* constants above */
- uint8_t API; /* API version supported by this plugin */
- char *id; /* a name that identifies this plugin */
- uint32_t version; /* version number, increased every release */
- void *special_info; /* plugin-type specific, see structs below */
- void *(*init)(xine_t *, void *); /* init the plugin class */
+ uint8_t type; /* one of the PLUGIN_* constants above */
+ uint8_t API; /* API version supported by this plugin */
+ char *id; /* a name that identifies this plugin */
+ uint32_t version; /* version number, increased every release */
+ void *special_info; /* plugin-type specific, see structs below */
+ void *(*init)(xine_t *, void *); /* init the plugin class */
} plugin_info_t;
/* special_info for a video output plugin */
typedef struct {
- int priority; /* priority of this plugin for auto-probing */
- int visual_type; /* visual type supported by this plugin */
+ int priority; /* priority of this plugin for auto-probing */
+ int visual_type; /* visual type supported by this plugin */
} vo_info_t;
/* special info for a audio output plugin */
typedef struct {
- int priority;
-} ao_info_t ;
+ int priority;
+} ao_info_t;
/* special_info for a decoder plugin */
typedef struct {
- uint32_t *supported_types;/* streamtypes this decoder can handle */
- int priority;
+ uint32_t *supported_types; /* streamtypes this decoder can handle */
+ int priority;
+ xine_t *xine;
} decoder_info_t;
/* special info for a post plugin */
typedef struct {
- uint32_t type; /* type of the post plugin, use one of XINE_POST_TYPE_* */
+ uint32_t type; /* type of the post plugin, use one of XINE_POST_TYPE_* */
} post_info_t;
#endif