diff options
author | phintuka <phintuka> | 2007-12-19 20:48:20 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2007-12-19 20:48:20 +0000 |
commit | b42bc35489676b7b9f81fdce31853eef3b030ed8 (patch) | |
tree | 92574bc33c864fd30aa155621f45eefea866614e /xine_input_vdr.c | |
parent | 8ee81b5e1c650d1ffd19d5c558e8e2ee3aa188a7 (diff) | |
download | xineliboutput-b42bc35489676b7b9f81fdce31853eef3b030ed8.tar.gz xineliboutput-b42bc35489676b7b9f81fdce31853eef3b030ed8.tar.bz2 |
xine-lib-1.2 changes:
input_class.get_identifier() --> input_class.identifier
input_class.get_description() --> input_class.description
Diffstat (limited to 'xine_input_vdr.c')
-rw-r--r-- | xine_input_vdr.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/xine_input_vdr.c b/xine_input_vdr.c index 29c2ecdd..2e1d10a1 100644 --- a/xine_input_vdr.c +++ b/xine_input_vdr.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_input_vdr.c,v 1.101 2007-12-19 20:44:30 phintuka Exp $ + * $Id: xine_input_vdr.c,v 1.102 2007-12-19 20:48:20 phintuka Exp $ * */ @@ -6225,6 +6225,7 @@ static input_plugin_t *vdr_class_get_instance (input_class_t *class_gen, * vdr input plugin class stuff */ +#if INPUT_PLUGIN_IFACE_VERSION < 18 #if XINE_VERSION_CODE > 10103 static const char *vdr_class_get_description (input_class_t *this_gen) #else @@ -6238,6 +6239,7 @@ static const char *vdr_class_get_identifier (input_class_t *this_gen) { return "xvdr"; } +#endif static char **vdr_plugin_get_autplay_list(input_class_t *this_gen, int *num_files) { @@ -6300,8 +6302,13 @@ static void *init_class (xine_t *xine, void *data) (void *)this); this->input_class.get_instance = vdr_class_get_instance; +#if INPUT_PLUGIN_IFACE_VERSION < 18 this->input_class.get_identifier = vdr_class_get_identifier; this->input_class.get_description = vdr_class_get_description; +#else + this->input_class.identifier = "xvdr"; + this->input_class.description = N_("VDR (Video Disk Recorder) input plugin"); +#endif this->input_class.get_dir = NULL; this->input_class.get_autoplay_list = vdr_plugin_get_autplay_list; this->input_class.dispose = vdr_class_dispose; |