summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/video_out/video_out_aa.c12
-rw-r--r--src/video_out/video_out_caca.c12
-rw-r--r--src/video_out/video_out_directfb.c24
-rw-r--r--src/video_out/video_out_directx.c12
-rw-r--r--src/video_out/video_out_fb.c14
-rw-r--r--src/video_out/video_out_macosx.m11
-rw-r--r--src/video_out/video_out_none.c12
-rw-r--r--src/video_out/video_out_opengl.c12
-rw-r--r--src/video_out/video_out_sdl.c12
-rw-r--r--src/video_out/video_out_stk.c14
-rw-r--r--src/video_out/video_out_syncfb.c12
-rw-r--r--src/video_out/video_out_vidix.c24
-rw-r--r--src/video_out/video_out_xcbshm.c12
-rw-r--r--src/video_out/video_out_xcbxv.c12
-rw-r--r--src/video_out/video_out_xshm.c12
-rw-r--r--src/video_out/video_out_xv.c12
-rw-r--r--src/video_out/video_out_xvmc.c12
-rw-r--r--src/video_out/video_out_xxmc.c12
18 files changed, 40 insertions, 203 deletions
diff --git a/src/video_out/video_out_aa.c b/src/video_out/video_out_aa.c
index 012db9665..74d19b6f6 100644
--- a/src/video_out/video_out_aa.c
+++ b/src/video_out/video_out_aa.c
@@ -300,14 +300,6 @@ static vo_driver_t *open_plugin (video_driver_class_t *class_gen, const void *vi
return &this->vo_driver;
}
-static char* get_identifier (video_driver_class_t *this_gen) {
- return "AA";
-}
-
-static char* get_description (video_driver_class_t *this_gen) {
- return _("xine video output plugin using the ascii-art library");
-}
-
static void dispose_class (video_driver_class_t *this_gen) {
aa_class_t *this = (aa_class_t *) this_gen;
free(this);
@@ -319,8 +311,8 @@ static void *init_class (xine_t *xine, void *visual_gen) {
this = (aa_class_t *) xine_xmalloc(sizeof(aa_class_t));
this->driver_class.open_plugin = open_plugin;
- this->driver_class.get_identifier = get_identifier;
- this->driver_class.get_description = get_description;
+ this->driver_class.identifier = "AA";
+ this->driver_class.description = _("xine video output plugin using the ascii-art library");
this->driver_class.dispose = dispose_class;
this->config = xine->config;
diff --git a/src/video_out/video_out_caca.c b/src/video_out/video_out_caca.c
index 866eabcd8..b7ea21ba1 100644
--- a/src/video_out/video_out_caca.c
+++ b/src/video_out/video_out_caca.c
@@ -307,14 +307,6 @@ static vo_driver_t *open_plugin (video_driver_class_t *class_gen, const void *vi
return &this->vo_driver;
}
-static char* get_identifier (video_driver_class_t *this_gen) {
- return "CACA";
-}
-
-static char* get_description (video_driver_class_t *this_gen) {
- return _("xine video output plugin using the Color AsCii Art library");
-}
-
static void dispose_class (video_driver_class_t *this_gen) {
caca_class_t *this = (caca_class_t *) this_gen;
free(this);
@@ -325,8 +317,8 @@ static void *init_class (xine_t *xine, void *visual_gen) {
this = (caca_class_t *) xine_xmalloc(sizeof(caca_class_t));
this->driver_class.open_plugin = open_plugin;
- this->driver_class.get_identifier = get_identifier;
- this->driver_class.get_description = get_description;
+ this->driver_class.identifier = "CACA";
+ this->driver_class.description = _("xine video output plugin using the Color AsCii Art library");
this->driver_class.dispose = dispose_class;
this->config = xine->config;
diff --git a/src/video_out/video_out_directfb.c b/src/video_out/video_out_directfb.c
index 1ab1fb8e8..fc4757680 100644
--- a/src/video_out/video_out_directfb.c
+++ b/src/video_out/video_out_directfb.c
@@ -1880,14 +1880,6 @@ static vo_driver_t *open_plugin_fb (video_driver_class_t *class_gen, const void
return &this->vo_driver;
}
-static char* get_identifier_fb (video_driver_class_t *this_gen) {
- return "DirectFB";
-}
-
-static char* get_description_fb (video_driver_class_t *this_gen) {
- return _("xine video output plugin using DirectFB.");
-}
-
static void dispose_class_fb (video_driver_class_t *this_gen) {
directfb_class_t *this = (directfb_class_t *) this_gen;
free (this);
@@ -1910,8 +1902,8 @@ static void *init_class_fb (xine_t *xine, void *visual_gen) {
this = (directfb_class_t *) xine_xmalloc (sizeof (directfb_class_t));
this->driver_class.open_plugin = open_plugin_fb;
- this->driver_class.get_identifier = get_identifier_fb;
- this->driver_class.get_description = get_description_fb;
+ this->driver_class.identifier = "DirectFB";
+ this->driver_class.description = _("xine video output plugin using DirectFB.");
this->driver_class.dispose = dispose_class_fb;
this->xine = xine;
@@ -2088,14 +2080,6 @@ static vo_driver_t *open_plugin_x11 (video_driver_class_t *class_gen, const void
return &this->vo_driver;
}
-static char* get_identifier_x11 (video_driver_class_t *this_gen) {
- return "XDirectFB";
-}
-
-static char* get_description_x11 (video_driver_class_t *this_gen) {
- return _("xine video output plugin using DirectFB under XDirectFB.");
-}
-
static void dispose_class_x11 (video_driver_class_t *this_gen) {
directfb_class_t *this = (directfb_class_t *) this_gen;
@@ -2129,8 +2113,8 @@ static void *init_class_x11 (xine_t *xine, void *visual_gen) {
this = (directfb_class_t *) xine_xmalloc (sizeof (directfb_class_t));
this->driver_class.open_plugin = open_plugin_x11;
- this->driver_class.get_identifier = get_identifier_x11;
- this->driver_class.get_description = get_description_x11;
+ this->driver_class.identifier = "XDirectFB";
+ this->driver_class.description = _("xine video output plugin using DirectFB under XDirectFB.");
this->driver_class.dispose = dispose_class_x11;
this->visual_type = XINE_VISUAL_TYPE_X11;
diff --git a/src/video_out/video_out_directx.c b/src/video_out/video_out_directx.c
index 11ee709e1..9494a2194 100644
--- a/src/video_out/video_out_directx.c
+++ b/src/video_out/video_out_directx.c
@@ -1228,14 +1228,6 @@ static vo_driver_t *open_plugin (video_driver_class_t *class_gen, const void *wi
}
-static char* get_identifier (video_driver_class_t *this_gen) {
- return "DirectX";
-}
-
-static char* get_description (video_driver_class_t *this_gen) {
- return _("xine video output plugin for win32 using directx");
-}
-
static void dispose_class (video_driver_class_t *this_gen) {
directx_class_t *directx = (directx_class_t *) this_gen;
@@ -1252,8 +1244,8 @@ static void *init_class (xine_t *xine, void *visual_gen) {
directx = (directx_class_t *) xine_xmalloc (sizeof (directx_class_t));
directx->driver_class.open_plugin = open_plugin;
- directx->driver_class.get_identifier = get_identifier;
- directx->driver_class.get_description = get_description;
+ directx->driver_class.identifier = "DirectX";
+ directx->driver_class.description = _("xine video output plugin for win32 using directx");
directx->driver_class.dispose = dispose_class;
directx->xine = xine;
diff --git a/src/video_out/video_out_fb.c b/src/video_out/video_out_fb.c
index 08663ae61..e061ab781 100644
--- a/src/video_out/video_out_fb.c
+++ b/src/video_out/video_out_fb.c
@@ -1046,16 +1046,6 @@ error:
return 0;
}
-static char* fb_get_identifier(video_driver_class_t *this_gen)
-{
- return "fb";
-}
-
-static char* fb_get_description(video_driver_class_t *this_gen)
-{
- return _("Xine video output plugin using the Linux frame buffer device");
-}
-
static void fb_dispose_class(video_driver_class_t *this_gen)
{
fb_class_t *this = (fb_class_t *)this_gen;
@@ -1067,8 +1057,8 @@ static void *fb_init_class(xine_t *xine, void *visual_gen)
fb_class_t *this = (fb_class_t *)xine_xmalloc(sizeof(fb_class_t));
this->driver_class.open_plugin = fb_open_plugin;
- this->driver_class.get_identifier = fb_get_identifier;
- this->driver_class.get_description = fb_get_description;
+ this->driver_class.identifier = "fb";
+ this->driver_class.description = _("Xine video output plugin using the Linux frame buffer device");
this->driver_class.dispose = fb_dispose_class;
this->config = xine->config;
diff --git a/src/video_out/video_out_macosx.m b/src/video_out/video_out_macosx.m
index 4621d31b9..27e9814a2 100644
--- a/src/video_out/video_out_macosx.m
+++ b/src/video_out/video_out_macosx.m
@@ -349,13 +349,6 @@ static vo_driver_t *open_plugin(video_driver_class_t *driver_class, const void *
/*
* Class related functions.
*/
-static char* get_identifier (video_driver_class_t *driver_class) {
- return "MacOSX";
-}
-
-static char* get_description (video_driver_class_t *driver_class) {
- return _("xine video output plugin for Mac OS X");
-}
static void dispose_class (video_driver_class_t *driver_class) {
macosx_class_t *this = (macosx_class_t *) driver_class;
@@ -369,8 +362,8 @@ static void *init_class (xine_t *xine, void *visual) {
this = (macosx_class_t *) xine_xmalloc(sizeof(macosx_class_t));
this->driver_class.open_plugin = open_plugin;
- this->driver_class.get_identifier = get_identifier;
- this->driver_class.get_description = get_description;
+ this->driver_class.identifier = "MacOSX";
+ this->driver_class.description = _("xine video output plugin for Mac OS X");
this->driver_class.dispose = dispose_class;
this->config = xine->config;
diff --git a/src/video_out/video_out_none.c b/src/video_out/video_out_none.c
index 5f2424a60..f97c5abab 100644
--- a/src/video_out/video_out_none.c
+++ b/src/video_out/video_out_none.c
@@ -269,14 +269,6 @@ static vo_driver_t *open_plugin(video_driver_class_t *driver_class, const void *
/*
* Class related functions.
*/
-static char* get_identifier (video_driver_class_t *driver_class) {
- return "None";
-}
-
-static char* get_description (video_driver_class_t *driver_class) {
- return _("xine video output plugin which displays nothing");
-}
-
static void dispose_class (video_driver_class_t *driver_class) {
none_class_t *this = (none_class_t *) driver_class;
@@ -289,8 +281,8 @@ static void *init_class (xine_t *xine, void *visual) {
this = (none_class_t *) xine_xmalloc(sizeof(none_class_t));
this->driver_class.open_plugin = open_plugin;
- this->driver_class.get_identifier = get_identifier;
- this->driver_class.get_description = get_description;
+ this->driver_class.identifier = "none";
+ this->driver_class.description = _("xine video output plugin which displays nothing");
this->driver_class.dispose = dispose_class;
this->config = xine->config;
diff --git a/src/video_out/video_out_opengl.c b/src/video_out/video_out_opengl.c
index 54696f452..d86ef80f3 100644
--- a/src/video_out/video_out_opengl.c
+++ b/src/video_out/video_out_opengl.c
@@ -1955,14 +1955,6 @@ static vo_driver_t *opengl_open_plugin (video_driver_class_t *class_gen, const v
* class functions
*/
-static char* opengl_get_identifier (video_driver_class_t *this_gen) {
- return "opengl";
-}
-
-static char* opengl_get_description (video_driver_class_t *this_gen) {
- return _("xine video output plugin using the OpenGL 3D graphics API");
-}
-
static void opengl_dispose_class (video_driver_class_t *this_gen) {
opengl_class_t *this = (opengl_class_t *) this_gen;
@@ -1973,8 +1965,8 @@ static void *opengl_init_class (xine_t *xine, void *visual_gen) {
opengl_class_t *this = (opengl_class_t *) xine_xmalloc (sizeof (opengl_class_t));
this->driver_class.open_plugin = opengl_open_plugin;
- this->driver_class.get_identifier = opengl_get_identifier;
- this->driver_class.get_description = opengl_get_description;
+ this->driver_class.identifier = "opengl";
+ this->driver_class.description = _("xine video output plugin using the OpenGL 3D graphics API");
this->driver_class.dispose = opengl_dispose_class;
this->xine = xine;
diff --git a/src/video_out/video_out_sdl.c b/src/video_out/video_out_sdl.c
index f4f645e8c..95c937326 100644
--- a/src/video_out/video_out_sdl.c
+++ b/src/video_out/video_out_sdl.c
@@ -563,14 +563,6 @@ static vo_driver_t *open_plugin (video_driver_class_t *class_gen, const void *vi
/**
* Class Functions
*/
-static char* get_identifier (video_driver_class_t *this_gen) {
- return "SDL";
-}
-
-static char* get_description (video_driver_class_t *this_gen) {
- return _("xine video output plugin using the Simple Direct Media Layer");
-}
-
static void dispose_class (video_driver_class_t *this_gen) {
free(this_gen);
}
@@ -591,8 +583,8 @@ static void *init_class (xine_t *xine, void *visual_gen) {
this = (sdl_class_t*) xine_xmalloc (sizeof (sdl_class_t));
this->driver_class.open_plugin = open_plugin;
- this->driver_class.get_identifier = get_identifier;
- this->driver_class.get_description = get_description;
+ this->driver_class.identifier = "SDL";
+ this->driver_class.description = _("xine video output plugin using the Simple Direct Media Layer");
this->driver_class.dispose = dispose_class;
this->config = xine->config;
diff --git a/src/video_out/video_out_stk.c b/src/video_out/video_out_stk.c
index dfc4ae385..ba357cd73 100644
--- a/src/video_out/video_out_stk.c
+++ b/src/video_out/video_out_stk.c
@@ -442,16 +442,6 @@ static vo_driver_t *open_plugin(video_driver_class_t *class_gen, const void *vis
/**
* Class Functions
*/
-static char* get_identifier (video_driver_class_t *this_gen) {
- //printf("video_out_stk: get_identifier()\n");
- return "stk";
-}
-
-static char* get_description (video_driver_class_t *this_gen) {
- //printf("video_out_stk: get_description()\n");
- return _("xine video output plugin using the Libstk Surface Set-top Toolkit");
-}
-
static void dispose_class (video_driver_class_t *this_gen) {
//printf("video_out_stk: dispose_class()\n");
free(this_gen);
@@ -466,8 +456,8 @@ static void *init_class (xine_t *xine, void *visual_gen) {
this = (stk_class_t *) xine_xmalloc(sizeof(stk_class_t));
this->driver_class.open_plugin = open_plugin;
- this->driver_class.get_identifier = get_identifier;
- this->driver_class.get_description = get_description;
+ this->driver_class.identifier = "stk";
+ this->driver_class.description = _("xine video output plugin using the Libstk Surface Set-top Toolkit");
this->driver_class.dispose = dispose_class;
this->config = xine->config;
diff --git a/src/video_out/video_out_syncfb.c b/src/video_out/video_out_syncfb.c
index 86be3422e..f133d52d7 100644
--- a/src/video_out/video_out_syncfb.c
+++ b/src/video_out/video_out_syncfb.c
@@ -1050,14 +1050,6 @@ static vo_driver_t *open_plugin (video_driver_class_t *class_gen, const void *vi
* class functions
*/
-static char* get_identifier (video_driver_class_t *this_gen) {
- return "SyncFB";
-}
-
-static char* get_description (video_driver_class_t *this_gen) {
- return _("xine video output plugin using the SyncFB module for Matrox G200/G400 cards");
-}
-
static void dispose_class (video_driver_class_t *this_gen) {
syncfb_class_t *this = (syncfb_class_t *) this_gen;
@@ -1096,8 +1088,8 @@ static void *init_class (xine_t *xine, void *visual_gen) {
this = (syncfb_class_t *) xine_xmalloc (sizeof (syncfb_class_t));
this->driver_class.open_plugin = open_plugin;
- this->driver_class.get_identifier = get_identifier;
- this->driver_class.get_description = get_description;
+ this->driver_class.identifier = "SyncFB";
+ this->driver_class.description = _("xine video output plugin using the SyncFB module for Matrox G200/G400 cards");
this->driver_class.dispose = dispose_class;
this->config = xine->config;
diff --git a/src/video_out/video_out_vidix.c b/src/video_out/video_out_vidix.c
index 21e361d93..f8e004583 100644
--- a/src/video_out/video_out_vidix.c
+++ b/src/video_out/video_out_vidix.c
@@ -1193,22 +1193,14 @@ static vo_driver_t *vidix_open_plugin (video_driver_class_t *class_gen, const vo
return &this->vo_driver;
}
-static char* vidix_get_identifier (video_driver_class_t *this_gen) {
- return "vidix";
-}
-
-static char* vidix_get_description (video_driver_class_t *this_gen) {
- return _("xine video output plugin using libvidix for x11");
-}
-
static void *vidix_init_class (xine_t *xine, void *visual_gen) {
vidix_class_t *this = init_class (xine, visual_gen);
if(this) {
this->driver_class.open_plugin = vidix_open_plugin;
- this->driver_class.get_identifier = vidix_get_identifier;
- this->driver_class.get_description = vidix_get_description;
+ this->driver_class.identifier = "vidix";
+ this->driver_class.description = _("xine video output plugin using libvidix for x11");
this->driver_class.dispose = dispose_class;
}
@@ -1275,22 +1267,14 @@ static vo_driver_t *vidixfb_open_plugin (video_driver_class_t *class_gen, const
return &this->vo_driver;
}
-static char* vidixfb_get_identifier (video_driver_class_t *this_gen) {
- return "vidixfb";
-}
-
-static char* vidixfb_get_description (video_driver_class_t *this_gen) {
- return _("xine video output plugin using libvidix for linux frame buffer");
-}
-
static void *vidixfb_init_class (xine_t *xine, void *visual_gen) {
vidix_class_t *this = init_class (xine, visual_gen);
if(this) {
this->driver_class.open_plugin = vidixfb_open_plugin;
- this->driver_class.get_identifier = vidixfb_get_identifier;
- this->driver_class.get_description = vidixfb_get_description;
+ this->driver_class.identifier = "vidixfb";
+ this->driver_class.description = _("xine video output plugin using libvidix for linux frame buffer");
this->driver_class.dispose = dispose_class;
}
diff --git a/src/video_out/video_out_xcbshm.c b/src/video_out/video_out_xcbshm.c
index 5de8a4fd3..87b5a9b92 100644
--- a/src/video_out/video_out_xcbshm.c
+++ b/src/video_out/video_out_xcbshm.c
@@ -1230,14 +1230,6 @@ static vo_driver_t *xshm_open_plugin(video_driver_class_t *class_gen, const void
* class functions
*/
-static char* xshm_get_identifier (video_driver_class_t *this_gen) {
- return "XShm";
-}
-
-static char* xshm_get_description (video_driver_class_t *this_gen) {
- return _("xine video output plugin using the MIT X shared memory extension");
-}
-
static void xshm_dispose_class (video_driver_class_t *this_gen) {
xshm_class_t *this = (xshm_class_t *) this_gen;
@@ -1248,8 +1240,8 @@ static void *xshm_init_class (xine_t *xine, void *visual_gen) {
xshm_class_t *this = (xshm_class_t *) xine_xmalloc (sizeof (xshm_class_t));
this->driver_class.open_plugin = xshm_open_plugin;
- this->driver_class.get_identifier = xshm_get_identifier;
- this->driver_class.get_description = xshm_get_description;
+ this->driver_class.identifier = "XShm";
+ this->driver_class.description = _("xine video output plugin using the MIT X shared memory extension");
this->driver_class.dispose = xshm_dispose_class;
this->config = xine->config;
this->xine = xine;
diff --git a/src/video_out/video_out_xcbxv.c b/src/video_out/video_out_xcbxv.c
index dd19172cf..67890bd6d 100644
--- a/src/video_out/video_out_xcbxv.c
+++ b/src/video_out/video_out_xcbxv.c
@@ -1370,14 +1370,6 @@ static vo_driver_t *open_plugin(video_driver_class_t *class_gen, const void *vis
* class functions
*/
-static char* get_identifier (video_driver_class_t *this_gen) {
- return "Xv";
-}
-
-static char* get_description (video_driver_class_t *this_gen) {
- return _("xine video output plugin using the MIT X video extension");
-}
-
static void dispose_class (video_driver_class_t *this_gen) {
xv_class_t *this = (xv_class_t *) this_gen;
@@ -1388,8 +1380,8 @@ static void *init_class (xine_t *xine, void *visual_gen) {
xv_class_t *this = (xv_class_t *) xine_xmalloc (sizeof (xv_class_t));
this->driver_class.open_plugin = open_plugin;
- this->driver_class.get_identifier = get_identifier;
- this->driver_class.get_description = get_description;
+ this->driver_class.identifier = "Xv";
+ this->driver_class.description = _("xine video output plugin using the MIT X video extension");
this->driver_class.dispose = dispose_class;
this->config = xine->config;
diff --git a/src/video_out/video_out_xshm.c b/src/video_out/video_out_xshm.c
index 40986899a..775211098 100644
--- a/src/video_out/video_out_xshm.c
+++ b/src/video_out/video_out_xshm.c
@@ -1291,14 +1291,6 @@ static vo_driver_t *xshm_open_plugin_old (video_driver_class_t *class_gen, const
* class functions
*/
-static char* xshm_get_identifier (video_driver_class_t *this_gen) {
- return "XShm";
-}
-
-static char* xshm_get_description (video_driver_class_t *this_gen) {
- return _("xine video output plugin using the MIT X shared memory extension");
-}
-
static void xshm_dispose_class (video_driver_class_t *this_gen) {
xshm_class_t *this = (xshm_class_t *) this_gen;
@@ -1309,8 +1301,8 @@ static void *xshm_init_class (xine_t *xine, void *visual_gen) {
xshm_class_t *this = (xshm_class_t *) xine_xmalloc (sizeof (xshm_class_t));
this->driver_class.open_plugin = xshm_open_plugin_old;
- this->driver_class.get_identifier = xshm_get_identifier;
- this->driver_class.get_description = xshm_get_description;
+ this->driver_class.identifier = "XShm";
+ this->driver_class.description = _("xine video output plugin using the MIT X shared memory extension");
this->driver_class.dispose = xshm_dispose_class;
this->config = xine->config;
this->xine = xine;
diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c
index a082c9d19..21d4aa0c4 100644
--- a/src/video_out/video_out_xv.c
+++ b/src/video_out/video_out_xv.c
@@ -1453,14 +1453,6 @@ static vo_driver_t *open_plugin_old (video_driver_class_t *class_gen, const void
* class functions
*/
-static char* get_identifier (video_driver_class_t *this_gen) {
- return "Xv";
-}
-
-static char* get_description (video_driver_class_t *this_gen) {
- return _("xine video output plugin using the MIT X video extension");
-}
-
static void dispose_class (video_driver_class_t *this_gen) {
xv_class_t *this = (xv_class_t *) this_gen;
@@ -1471,8 +1463,8 @@ static void *init_class (xine_t *xine, void *visual_gen) {
xv_class_t *this = (xv_class_t *) xine_xmalloc (sizeof (xv_class_t));
this->driver_class.open_plugin = open_plugin_old;
- this->driver_class.get_identifier = get_identifier;
- this->driver_class.get_description = get_description;
+ this->driver_class.identifier = "Xv";
+ this->driver_class.description = _("xine video output plugin using the MIT X video extension");
this->driver_class.dispose = dispose_class;
this->config = xine->config;
diff --git a/src/video_out/video_out_xvmc.c b/src/video_out/video_out_xvmc.c
index 3ff30fa25..8dab2fb83 100644
--- a/src/video_out/video_out_xvmc.c
+++ b/src/video_out/video_out_xvmc.c
@@ -1494,14 +1494,6 @@ static vo_driver_t *open_plugin (video_driver_class_t *class_gen, const void *vi
* class functions
*/
-static char* get_identifier (video_driver_class_t *this_gen) {
- return "XvMC";
-}
-
-static char* get_description (video_driver_class_t *this_gen) {
- return _("xine video output plugin using the XvMC X video extension");
-}
-
static void dispose_class (video_driver_class_t *this_gen) {
xvmc_class_t *this = (xvmc_class_t *) this_gen;
@@ -1674,8 +1666,8 @@ static void *init_class (xine_t *xine, void *visual_gen) {
return NULL;
this->driver_class.open_plugin = open_plugin;
- this->driver_class.get_identifier = get_identifier;
- this->driver_class.get_description = get_description;
+ this->driver_class.identifier = "XvMC";
+ this->driver_class.description = _("xine video output plugin using the XvMC X video extension");
this->driver_class.dispose = dispose_class;
this->display = display;
diff --git a/src/video_out/video_out_xxmc.c b/src/video_out/video_out_xxmc.c
index d4c43ab37..89c8f58ed 100644
--- a/src/video_out/video_out_xxmc.c
+++ b/src/video_out/video_out_xxmc.c
@@ -2750,14 +2750,6 @@ static vo_driver_t *open_plugin (video_driver_class_t *class_gen, const void *vi
* class functions
*/
-static char* get_identifier (video_driver_class_t *this_gen) {
- return "XxMC";
-}
-
-static char* get_description (video_driver_class_t *this_gen) {
- return _("xine video output plugin using the MIT X video extension");
-}
-
static void dispose_class (video_driver_class_t *this_gen) {
xxmc_class_t *this = (xxmc_class_t *) this_gen;
@@ -2768,8 +2760,8 @@ static void *init_class (xine_t *xine, void *visual_gen) {
xxmc_class_t *this = (xxmc_class_t *) xine_xmalloc (sizeof (xxmc_class_t));
this->driver_class.open_plugin = open_plugin;
- this->driver_class.get_identifier = get_identifier;
- this->driver_class.get_description = get_description;
+ this->driver_class.identifier = "XxMC";
+ this->driver_class.description = _("xine video output plugin using the MIT X video extension");
this->driver_class.dispose = dispose_class;
this->config = xine->config;