summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-11 11:58:43 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-11 11:58:43 +0100
commitf8b45084853fd3f1c40ad611e5f1649851eb9d47 (patch)
treed13af82e7e960521fca1ce5a4abac034ba2e112c /src
parent3a4daf90fdd45ed0e0c896ee87d7dae6c8a02683 (diff)
downloadxine-lib-f8b45084853fd3f1c40ad611e5f1649851eb9d47.tar.gz
xine-lib-f8b45084853fd3f1c40ad611e5f1649851eb9d47.tar.bz2
Update to the new identifier/description interface and call _().
Diffstat (limited to 'src')
-rw-r--r--src/video_out/video_out_pgx32.c14
-rw-r--r--src/video_out/video_out_pgx64.c14
2 files changed, 4 insertions, 24 deletions
diff --git a/src/video_out/video_out_pgx32.c b/src/video_out/video_out_pgx32.c
index d903efc89..d8504e711 100644
--- a/src/video_out/video_out_pgx32.c
+++ b/src/video_out/video_out_pgx32.c
@@ -855,16 +855,6 @@ static vo_driver_t *pgx32_init_driver(video_driver_class_t *class_gen, const voi
return (vo_driver_t *)this;
}
-static char *pgx32_get_identifier(video_driver_class_t *class_gen)
-{
- return "pgx32";
-}
-
-static char *pgx32_get_description(video_driver_class_t *class_gen)
-{
- return "xine video output plugin for Sun PGX32 framebuffers";
-}
-
static void *pgx32_init_class(xine_t *xine, void *visual_gen)
{
pgx32_driver_class_t *class;
@@ -877,8 +867,8 @@ static void *pgx32_init_class(xine_t *xine, void *visual_gen)
DGA_INIT();
class->vo_driver_class.open_plugin = pgx32_init_driver;
- class->vo_driver_class.get_identifier = pgx32_get_identifier;
- class->vo_driver_class.get_description = pgx32_get_description;
+ class->vo_driver_class.identifier = "pgx32";
+ class->vo_driver_class.description = _("xine video output plugin for Sun PGX32 framebuffers");
class->vo_driver_class.dispose = pgx32_dispose_class;
class->xine = xine;
diff --git a/src/video_out/video_out_pgx64.c b/src/video_out/video_out_pgx64.c
index 4abb794d7..a706872cd 100644
--- a/src/video_out/video_out_pgx64.c
+++ b/src/video_out/video_out_pgx64.c
@@ -1479,16 +1479,6 @@ static vo_driver_t *pgx64_init_driver(video_driver_class_t *class_gen, const voi
return (vo_driver_t *)this;
}
-static char *pgx64_get_identifier(video_driver_class_t *class_gen)
-{
- return "pgx64";
-}
-
-static char *pgx64_get_description(video_driver_class_t *class_gen)
-{
- return "xine video output plugin for Sun XVR100/PGX64/PGX24 framebuffers";
-}
-
static void *pgx64_init_class(xine_t *xine, void *visual_gen)
{
pgx64_driver_class_t *class;
@@ -1501,8 +1491,8 @@ static void *pgx64_init_class(xine_t *xine, void *visual_gen)
DGA_INIT();
class->vo_driver_class.open_plugin = pgx64_init_driver;
- class->vo_driver_class.get_identifier = pgx64_get_identifier;
- class->vo_driver_class.get_description = pgx64_get_description;
+ class->vo_driver_class.identifier = "pgx64";
+ class->vo_driver_class.description = _("xine video output plugin for Sun XVR100/PGX64/PGX24 framebuffers");
class->vo_driver_class.dispose = pgx64_dispose_class;
class->xine = xine;