From bbb97d24340fb6b780b55f54da0f0d3b94956bfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Tue, 11 Dec 2007 12:01:59 +0100 Subject: Update all video output plugins to the new identifier/description interface. --- src/video_out/video_out_syncfb.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'src/video_out/video_out_syncfb.c') 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; -- cgit v1.2.3