summaryrefslogtreecommitdiff
path: root/src/vdr/input_vdr.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-12 22:39:58 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-12 22:39:58 +0100
commit44234828cf17a0a302975dc3f5f8b671f86a8ac2 (patch)
tree43d3917bb441eb7b85d3d6bc443162406e7958ba /src/vdr/input_vdr.c
parent6514a174a7036d285da2faae55d1e4cecb7ea310 (diff)
parent552c28241aa1e6820857f5bf8bd8bbb9ee99dd99 (diff)
downloadxine-lib-44234828cf17a0a302975dc3f5f8b671f86a8ac2.tar.gz
xine-lib-44234828cf17a0a302975dc3f5f8b671f86a8ac2.tar.bz2
Merge from 1.2 main.
Diffstat (limited to 'src/vdr/input_vdr.c')
-rw-r--r--src/vdr/input_vdr.c26
1 files changed, 4 insertions, 22 deletions
diff --git a/src/vdr/input_vdr.c b/src/vdr/input_vdr.c
index 069eb734a..946e963a3 100644
--- a/src/vdr/input_vdr.c
+++ b/src/vdr/input_vdr.c
@@ -2627,24 +2627,6 @@ static input_plugin_t *vdr_class_get_instance(input_class_t *cls_gen, xine_strea
/*
* vdr input plugin class stuff
*/
-
-static const char *vdr_class_get_description(input_class_t *this_gen)
-{
- return _("VDR display device plugin");
-}
-
-static const char *vdr_class_get_identifier (input_class_t *this_gen)
-{
- return "VDR";
-}
-
-static void vdr_class_dispose (input_class_t *this_gen)
-{
- vdr_input_class_t *this = (vdr_input_class_t *)this_gen;
-
- free(this);
-}
-
static char **vdr_class_get_autoplay_list(input_class_t *this_gen,
int *num_files)
{
@@ -2668,11 +2650,11 @@ static void *init_class(xine_t *xine, void *data)
this->mrls[ 1 ] = 0;
this->input_class.get_instance = vdr_class_get_instance;
- this->input_class.get_identifier = vdr_class_get_identifier;
- this->input_class.get_description = vdr_class_get_description;
+ this->input_class.identifier = "VDR";
+ this->input_class.description = N_("VDR display device plugin");
this->input_class.get_dir = NULL;
this->input_class.get_autoplay_list = vdr_class_get_autoplay_list;
- this->input_class.dispose = vdr_class_dispose;
+ this->input_class.dispose = default_input_class_dispose;
this->input_class.eject_media = NULL;
return this;
@@ -2685,7 +2667,7 @@ static void *init_class(xine_t *xine, void *data)
const plugin_info_t xine_plugin_info[] EXPORTED =
{
/* type, API, "name", version, special_info, init_function */
- { PLUGIN_INPUT, 17, "VDR", XINE_VERSION_CODE, NULL, init_class },
+ { PLUGIN_INPUT, 18, "VDR", XINE_VERSION_CODE, NULL, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
};