diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 12:01:59 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 12:01:59 +0100 |
commit | bbb97d24340fb6b780b55f54da0f0d3b94956bfc (patch) | |
tree | a5c0b2f7145f916ae8c201e2800e11266a889c95 /src/video_out/video_out_opengl.c | |
parent | f8b45084853fd3f1c40ad611e5f1649851eb9d47 (diff) | |
download | xine-lib-bbb97d24340fb6b780b55f54da0f0d3b94956bfc.tar.gz xine-lib-bbb97d24340fb6b780b55f54da0f0d3b94956bfc.tar.bz2 |
Update all video output plugins to the new identifier/description interface.
Diffstat (limited to 'src/video_out/video_out_opengl.c')
-rw-r--r-- | src/video_out/video_out_opengl.c | 12 |
1 files changed, 2 insertions, 10 deletions
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; |