diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 13:26:26 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 13:26:26 +0100 |
commit | 78fc25b90a9659048ba3a9a178a45a3e536765f2 (patch) | |
tree | 611a2c1de323323a3ee889c14b7c5de8500acdc1 /src/libspudvb/xine_spudvb_decoder.c | |
parent | f8bd5f9976485960fa7b2ffd1ca2a347044b38ea (diff) | |
download | xine-lib-78fc25b90a9659048ba3a9a178a45a3e536765f2.tar.gz xine-lib-78fc25b90a9659048ba3a9a178a45a3e536765f2.tar.bz2 |
Update all misc plugins to the new identifier/description interface. Add _() where missing, for i18n.
Diffstat (limited to 'src/libspudvb/xine_spudvb_decoder.c')
-rw-r--r-- | src/libspudvb/xine_spudvb_decoder.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/libspudvb/xine_spudvb_decoder.c b/src/libspudvb/xine_spudvb_decoder.c index af9000a0b..29554699a 100644 --- a/src/libspudvb/xine_spudvb_decoder.c +++ b/src/libspudvb/xine_spudvb_decoder.c @@ -971,16 +971,6 @@ static void dvb_spu_class_dispose (spu_decoder_class_t * this) free (this); } -static char *dvb_spu_class_get_identifier (spu_decoder_class_t * this) -{ - return "spudvb"; -} - -static char *dvb_spu_class_get_description (spu_decoder_class_t * this) -{ - return "DVB subtitle decoder plugin"; -} - static void *init_spu_decoder_plugin (xine_t * xine, void *data) { @@ -988,8 +978,8 @@ static void *init_spu_decoder_plugin (xine_t * xine, void *data) this = (dvb_spu_class_t *) xine_xmalloc (sizeof (dvb_spu_class_t)); this->class.open_plugin = dvb_spu_class_open_plugin; - this->class.get_identifier = dvb_spu_class_get_identifier; - this->class.get_description = dvb_spu_class_get_description; + this->class.identifier = "spudvb"; + this->class.description = _("DVB subtitle decoder plugin"); this->class.dispose = dvb_spu_class_dispose; this->xine = xine; |