summaryrefslogtreecommitdiff
path: root/src/xine-engine/xine_plugin.h
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2002-10-14 15:46:48 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2002-10-14 15:46:48 +0000
commitbcaee71a3a763a545e1f8457aca26dc679462677 (patch)
tree191c500351cb4073c6d998e6112a6b68f19790f4 /src/xine-engine/xine_plugin.h
parentde10300bdc6457c36598f4287d42c4a5b2e82d71 (diff)
downloadxine-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/xine_plugin.h')
-rw-r--r--src/xine-engine/xine_plugin.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/xine-engine/xine_plugin.h b/src/xine-engine/xine_plugin.h
index 99297cc7e..16845dbf0 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.3 2002/09/05 16:24:14 guenter Exp $
+ * $Id: xine_plugin.h,v 1.4 2002/10/14 15:47:46 guenter Exp $
*
* generic plugin definitions
*
@@ -26,7 +26,7 @@
#ifndef XINE_PLUGIN_H
#define XINE_PLUGIN_H
-#define PLUGIN_NONE 0
+#define PLUGIN_NONE 0
#define PLUGIN_INPUT 1
#define PLUGIN_DEMUX 2
#define PLUGIN_AUDIO_DECODER 3
@@ -42,7 +42,8 @@ typedef struct {
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 *); /* used to get/initialize an instance*/
+ void *(*init)(xine_t *, void *); /* init the plugin class */
+ void *(*open)(void *, xine_stream_t *, const void *); /* create an instance*/
} plugin_info_t;