diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-10-16 22:54:47 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-10-16 22:54:47 +0000 |
commit | b2c55490db29a9aaae431c899e2b6806305482c0 (patch) | |
tree | b75b328e18c3885c443b16982b74ec7ed1036cc3 /src/xine-engine/video_out.h | |
parent | 3156b0d743d15ad39978713167e375373265fdfc (diff) | |
download | xine-lib-b2c55490db29a9aaae431c899e2b6806305482c0.tar.gz xine-lib-b2c55490db29a9aaae431c899e2b6806305482c0.tar.bz2 |
introduce audio/video_driver_class_t, adapt oss audio output plugin, exclude other audio output plugin from build process
CVS patchset: 2841
CVS date: 2002/10/16 22:54:47
Diffstat (limited to 'src/xine-engine/video_out.h')
-rw-r--r-- | src/xine-engine/video_out.h | 32 |
1 files changed, 29 insertions, 3 deletions
diff --git a/src/xine-engine/video_out.h b/src/xine-engine/video_out.h index 90bb61565..5bda23ef6 100644 --- a/src/xine-engine/video_out.h +++ b/src/xine-engine/video_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: video_out.h,v 1.65 2002/10/16 14:19:44 guenter Exp $ + * $Id: video_out.h,v 1.66 2002/10/16 22:54:48 guenter Exp $ * * * xine version of video_out.h @@ -295,18 +295,44 @@ struct xine_vo_driver_s { int (*gui_data_exchange) (xine_vo_driver_t *this, int data_type, void *data); - void (*exit) (xine_vo_driver_t *this); - /* check if a redraw is needed (due to resize) * this is only used for still frames, normal video playback * must call that inside display_frame() function. */ int (*redraw_needed) (xine_vo_driver_t *this); + /* + * free all resources, close driver + */ + + void (*dispose) (xine_vo_driver_t *this); + void *node; /* needed by plugin_loader */ +}; + +typedef struct video_driver_class_s video_driver_class_t; + +struct video_driver_class_s { + + /* + * return short, human readable identifier for this plugin class + */ + char* (*get_identifier) (video_driver_class_t *this); + + /* + * return human readable (verbose = 1 line) description for + * this plugin class + */ + char* (*get_description) (video_driver_class_t *this); + /* + * free all class-related resources + */ + + void (*dispose) (video_driver_class_t *this); }; + typedef struct rle_elem_s { uint16_t len; uint16_t color; |