From 3bb1499e2dd8f9e63494259343968ae71060f6cb Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Thu, 17 Oct 2002 17:43:41 +0000 Subject: move open_plugin function (used to create new plugin instances) from the plugin info struct to the plugin class struct small nerby change in libffmpeg decoder plugin: access to video_out/audio_out in decoders should now be done via the appropriate members in xine_stream_t CVS patchset: 2843 CVS date: 2002/10/17 17:43:41 --- src/input/input_plugin.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/input/input_plugin.h') diff --git a/src/input/input_plugin.h b/src/input/input_plugin.h index 20ce70653..dc00593a6 100644 --- a/src/input/input_plugin.h +++ b/src/input/input_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: input_plugin.h,v 1.32 2002/10/14 15:47:19 guenter Exp $ + * $Id: input_plugin.h,v 1.33 2002/10/17 17:43:43 mroi Exp $ */ #ifndef HAVE_INPUT_PLUGIN_H @@ -32,9 +32,15 @@ #define INPUT_PLUGIN_IFACE_VERSION 9 typedef struct input_class_s input_class_t ; +typedef struct input_plugin_s input_plugin_t; struct input_class_s { + /* + * open a new instance of this plugin class + */ + input_plugin_t* (*open_plugin) (input_class_t *this, xine_stream_t *stream, const char *mrl); + /* * return short, human readable identifier for this plugin class */ @@ -71,8 +77,6 @@ struct input_class_s { int (*eject_media) (input_class_t *this); }; -typedef struct input_plugin_s input_plugin_t; - struct input_plugin_s { /* -- cgit v1.2.3