summaryrefslogtreecommitdiff
path: root/src/video_out/video_out_xcbshm.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-11 12:01:59 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-11 12:01:59 +0100
commitbbb97d24340fb6b780b55f54da0f0d3b94956bfc (patch)
treea5c0b2f7145f916ae8c201e2800e11266a889c95 /src/video_out/video_out_xcbshm.c
parentf8b45084853fd3f1c40ad611e5f1649851eb9d47 (diff)
downloadxine-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_xcbshm.c')
-rw-r--r--src/video_out/video_out_xcbshm.c12
1 files changed, 2 insertions, 10 deletions
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;