summaryrefslogtreecommitdiff
path: root/src/libspucc
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-11 13:26:26 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-11 13:26:26 +0100
commit78fc25b90a9659048ba3a9a178a45a3e536765f2 (patch)
tree611a2c1de323323a3ee889c14b7c5de8500acdc1 /src/libspucc
parentf8bd5f9976485960fa7b2ffd1ca2a347044b38ea (diff)
downloadxine-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/libspucc')
-rw-r--r--src/libspucc/xine_cc_decoder.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/libspucc/xine_cc_decoder.c b/src/libspucc/xine_cc_decoder.c
index 9cdb4c4ea..3891fb76a 100644
--- a/src/libspucc/xine_cc_decoder.c
+++ b/src/libspucc/xine_cc_decoder.c
@@ -321,14 +321,6 @@ static spu_decoder_t *spudec_open_plugin (spu_decoder_class_t *class, xine_strea
return &this->spu_decoder;
}
-static char *spudec_get_identifier(spu_decoder_class_t *class) {
- return "spucc";
-}
-
-static char *spudec_get_description(spu_decoder_class_t *class) {
- return "closed caption decoder plugin";
-}
-
static void spudec_class_dispose(spu_decoder_class_t *class) {
free(class);
}
@@ -341,8 +333,8 @@ static void *init_spu_decoder_plugin (xine_t *xine, void *data) {
this = (spucc_class_t *) xine_xmalloc (sizeof (spucc_class_t));
this->spu_class.open_plugin = spudec_open_plugin;
- this->spu_class.get_identifier = spudec_get_identifier;
- this->spu_class.get_description = spudec_get_description;
+ this->spu_class.identifier = "spucc";
+ this->spu_class.description = _("closed caption decoder plugin");
this->spu_class.dispose = spudec_class_dispose;
spucc_register_cfg_vars(this, xine->config);