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/libffmpeg/ff_audio_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/libffmpeg/ff_audio_decoder.c')
| -rw-r--r-- | src/libffmpeg/ff_audio_decoder.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/libffmpeg/ff_audio_decoder.c b/src/libffmpeg/ff_audio_decoder.c index b9762c66b..bbfb07c6e 100644 --- a/src/libffmpeg/ff_audio_decoder.c +++ b/src/libffmpeg/ff_audio_decoder.c @@ -415,14 +415,6 @@ static audio_decoder_t *ff_audio_open_plugin (audio_decoder_class_t *class_gen, return &this->audio_decoder; } -static char *ff_audio_get_identifier (audio_decoder_class_t *this) { - return "ffmpeg audio"; -} - -static char *ff_audio_get_description (audio_decoder_class_t *this) { - return "ffmpeg based audio decoder plugin"; -} - static void ff_audio_dispose_class (audio_decoder_class_t *this) { free (this); } @@ -434,8 +426,8 @@ void *init_audio_plugin (xine_t *xine, void *data) { this = (ff_audio_class_t *) xine_xmalloc (sizeof (ff_audio_class_t)); this->decoder_class.open_plugin = ff_audio_open_plugin; - this->decoder_class.get_identifier = ff_audio_get_identifier; - this->decoder_class.get_description = ff_audio_get_description; + this->decoder_class.identifier = "ffmpeg audio"; + this->decoder_class.description = _("ffmpeg based audio decoder plugin"); this->decoder_class.dispose = ff_audio_dispose_class; pthread_once( &once_control, init_once_routine ); |
