From 78fc25b90a9659048ba3a9a178a45a3e536765f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Tue, 11 Dec 2007 13:26:26 +0100 Subject: Update all misc plugins to the new identifier/description interface. Add _() where missing, for i18n. --- src/libspucmml/xine_cmml_decoder.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'src/libspucmml/xine_cmml_decoder.c') diff --git a/src/libspucmml/xine_cmml_decoder.c b/src/libspucmml/xine_cmml_decoder.c index b684d21cb..5daf5e7fc 100644 --- a/src/libspucmml/xine_cmml_decoder.c +++ b/src/libspucmml/xine_cmml_decoder.c @@ -494,14 +494,6 @@ static void spucmml_class_dispose (spu_decoder_class_t *this) { free (this); } -static char *spucmml_class_get_identifier (spu_decoder_class_t *this) { - return "spucmml"; -} - -static char *spucmml_class_get_description (spu_decoder_class_t *this) { - return "CMML subtitle decoder plugin"; -} - static void update_src_encoding(void *this_gen, xine_cfg_entry_t *entry) { spucmml_class_t *this = (spucmml_class_t *)this_gen; @@ -517,8 +509,8 @@ static void *init_spu_decoder_plugin (xine_t *xine, void *data) { this = (spucmml_class_t *) xine_xmalloc (sizeof (spucmml_class_t)); this->class.open_plugin = spucmml_class_open_plugin; - this->class.get_identifier = spucmml_class_get_identifier; - this->class.get_description = spucmml_class_get_description; + this->class.identifier = "spucmml"; + this->class.description = _("CMML subtitle decoder plugin"); this->class.dispose = spucmml_class_dispose; this->xine = xine; -- cgit v1.2.3