diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 10:58:08 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 10:58:08 +0100 |
commit | 051c26d8e93ce4eacf071c068b32fe9c06b3739d (patch) | |
tree | f516710a35fc0f7a25c9946821d492c110de2c52 /src/audio_out/audio_none_out.c | |
parent | 60e025ce15431f04955502084bc54c18d69c7d6a (diff) | |
download | xine-lib-051c26d8e93ce4eacf071c068b32fe9c06b3739d.tar.gz xine-lib-051c26d8e93ce4eacf071c068b32fe9c06b3739d.tar.bz2 |
Leave to the plugin the call to gettext exactly as before.
This way external plugins can use their own gettext catalog for i18n.
Diffstat (limited to 'src/audio_out/audio_none_out.c')
-rw-r--r-- | src/audio_out/audio_none_out.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/audio_out/audio_none_out.c b/src/audio_out/audio_none_out.c index a815d645a..f4c9d83c1 100644 --- a/src/audio_out/audio_none_out.c +++ b/src/audio_out/audio_none_out.c @@ -215,14 +215,6 @@ static ao_driver_t *open_plugin (audio_driver_class_t *class_gen, * class functions */ -static char* get_identifier (audio_driver_class_t *this_gen) { - return "none"; -} - -static char* get_description (audio_driver_class_t *this_gen) { - return _("xine dummy audio output plugin"); -} - static void dispose_class (audio_driver_class_t *this_gen) { none_class_t *this = (none_class_t *) this_gen; @@ -241,8 +233,8 @@ static void *init_class (xine_t *xine, void *data) { return NULL; this->driver_class.open_plugin = open_plugin; - this->driver_class.get_identifier = get_identifier; - this->driver_class.get_description = get_description; + this->driver_class.identifier = "none"; + this->driver_class.description = N_("xine dummy audio output plugin"); this->driver_class.dispose = dispose_class; this->config = xine->config; |