summaryrefslogtreecommitdiff
path: root/src/vdr/post_vdr_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vdr/post_vdr_video.c')
-rw-r--r--src/vdr/post_vdr_video.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/vdr/post_vdr_video.c b/src/vdr/post_vdr_video.c
index 85536819a..ae02c31e0 100644
--- a/src/vdr/post_vdr_video.c
+++ b/src/vdr/post_vdr_video.c
@@ -81,8 +81,6 @@ static void vdr_video_set_video_window(vdr_video_post_plugin_t *this, int32_t x,
static post_plugin_t *vdr_video_open_plugin(post_class_t *class_gen, int inputs,
xine_audio_port_t **audio_target,
xine_video_port_t **video_target);
-static char *vdr_video_get_identifier(post_class_t *class_gen);
-static char *vdr_video_get_description(post_class_t *class_gen);
static void vdr_video_class_dispose(post_class_t *class_gen);
/* plugin instance functions */
@@ -103,8 +101,8 @@ void *vdr_video_init_plugin(xine_t *xine, void *data)
return NULL;
class->open_plugin = vdr_video_open_plugin;
- class->get_identifier = vdr_video_get_identifier;
- class->get_description = vdr_video_get_description;
+ class->identifier = "vdr";
+ class->description = _("modifies every video frame as requested by VDR");
class->dispose = vdr_video_class_dispose;
return class;
@@ -146,16 +144,6 @@ static post_plugin_t *vdr_video_open_plugin(post_class_t *class_gen, int inputs,
return &this->post_plugin;
}
-static char *vdr_video_get_identifier(post_class_t *class_gen)
-{
- return "vdr";
-}
-
-static char *vdr_video_get_description(post_class_t *class_gen)
-{
- return "modifies every video frame as requested by VDR";
-}
-
static void vdr_video_class_dispose(post_class_t *class_gen)
{
free(class_gen);