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/xine-engine/audio_out.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/xine-engine/audio_out.h') diff --git a/src/xine-engine/audio_out.h b/src/xine-engine/audio_out.h index 42cf7889f..c3d7d1090 100644 --- a/src/xine-engine/audio_out.h +++ b/src/xine-engine/audio_out.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: audio_out.h,v 1.37 2002/10/16 22:54:48 guenter Exp $ + * $Id: audio_out.h,v 1.38 2002/10/17 17:43:44 mroi Exp $ */ #ifndef HAVE_AUDIO_OUT_H #define HAVE_AUDIO_OUT_H @@ -201,7 +201,7 @@ struct ao_instance_s { */ int (*control) (ao_instance_t *this, int cmd, /* arg */ ...); - + /* private stuff */ xine_ao_driver_t *driver; @@ -238,6 +238,11 @@ typedef struct audio_driver_class_s audio_driver_class_t; struct audio_driver_class_s { + /* + * open a new instance of this plugin class + */ + xine_ao_driver_t* (*open_plugin) (audio_driver_class_t *this, const void *data); + /* * return short, human readable identifier for this plugin class */ -- cgit v1.2.3