summaryrefslogtreecommitdiff
path: root/src/libffmpeg/ff_dvaudio_decoder.c
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/libffmpeg/ff_dvaudio_decoder.c
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/libffmpeg/ff_dvaudio_decoder.c')
-rw-r--r--src/libffmpeg/ff_dvaudio_decoder.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/libffmpeg/ff_dvaudio_decoder.c b/src/libffmpeg/ff_dvaudio_decoder.c
index 08ddf4e30..0eb0d2732 100644
--- a/src/libffmpeg/ff_dvaudio_decoder.c
+++ b/src/libffmpeg/ff_dvaudio_decoder.c
@@ -377,14 +377,6 @@ static audio_decoder_t *dvaudio_open_plugin (audio_decoder_class_t *class_gen, x
return &this->audio_decoder;
}
-static char *dvaudio_get_identifier (audio_decoder_class_t *this) {
- return "dv audio";
-}
-
-static char *dvaudio_get_description (audio_decoder_class_t *this) {
- return "dv audio decoder plugin";
-}
-
static void dvaudio_dispose_class (audio_decoder_class_t *this) {
free (this);
}
@@ -396,8 +388,8 @@ static void *init_dvaudio_plugin (xine_t *xine, void *data) {
this = (dvaudio_class_t *) xine_xmalloc (sizeof (dvaudio_class_t));
this->decoder_class.open_plugin = dvaudio_open_plugin;
- this->decoder_class.get_identifier = dvaudio_get_identifier;
- this->decoder_class.get_description = dvaudio_get_description;
+ this->decoder_class.identifier = "dv audio";
+ this->decoder_class.description = _("dv audio decoder plugin");
this->decoder_class.dispose = dvaudio_dispose_class;
return this;