diff options
| author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-12 15:13:31 +0100 |
|---|---|---|
| committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-12 15:13:31 +0100 |
| commit | 552c28241aa1e6820857f5bf8bd8bbb9ee99dd99 (patch) | |
| tree | 2b611c01a7fbb1cde54a58236557c61fd9b2248e /src/video_out/video_out_xcbshm.c | |
| parent | b39d5d3f3e65ef7b741dc4d675dc4d91d250c25b (diff) | |
| parent | a151844ec16b67d6f844c176a611d5907e15ed5c (diff) | |
| download | xine-lib-552c28241aa1e6820857f5bf8bd8bbb9ee99dd99.tar.gz xine-lib-552c28241aa1e6820857f5bf8bd8bbb9ee99dd99.tar.bz2 | |
Merge with 1.2-plugins-changes.
Diffstat (limited to 'src/video_out/video_out_xcbshm.c')
| -rw-r--r-- | src/video_out/video_out_xcbshm.c | 23 |
1 files changed, 4 insertions, 19 deletions
diff --git a/src/video_out/video_out_xcbshm.c b/src/video_out/video_out_xcbshm.c index 5de8a4fd3..c6ad9e2f1 100644 --- a/src/video_out/video_out_xcbshm.c +++ b/src/video_out/video_out_xcbshm.c @@ -1229,28 +1229,13 @@ 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; - - free (this); -} - 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.dispose = xshm_dispose_class; + this->driver_class.identifier = "XShm"; + this->driver_class.description = N_("xine video output plugin using the MIT X shared memory extension"); + this->driver_class.dispose = default_video_driver_class_dispose; this->config = xine->config; this->xine = xine; @@ -1270,6 +1255,6 @@ static const vo_info_t vo_info_xshm = { const plugin_info_t xine_plugin_info[] EXPORTED = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_VIDEO_OUT, 21, "xshm", XINE_VERSION_CODE, &vo_info_xshm, xshm_init_class }, + { PLUGIN_VIDEO_OUT, 22, "xshm", XINE_VERSION_CODE, &vo_info_xshm, xshm_init_class }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; |
