From 4a92f5cbb43ef017728d86857538cab54b29cfde Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Thu, 16 Dec 2004 13:58:57 +0000 Subject: use UTF-8 meta info setting, where we know the string is ASCII (costly conversion is not necessary, because ASCII is a subset of UTF-8) CVS patchset: 7264 CVS date: 2004/12/16 13:58:57 --- src/libxineadec/fooaudio.c | 4 ++-- src/libxineadec/gsm610.c | 4 ++-- src/libxineadec/nsf.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/libxineadec') diff --git a/src/libxineadec/fooaudio.c b/src/libxineadec/fooaudio.c index 6efc49d51..8460c1265 100644 --- a/src/libxineadec/fooaudio.c +++ b/src/libxineadec/fooaudio.c @@ -21,7 +21,7 @@ * player. It really works too! It will output a continuous sine wave in * place of the data it should actually send. * - * $Id: fooaudio.c,v 1.13 2004/03/17 22:50:35 tmattern Exp $ + * $Id: fooaudio.c,v 1.14 2004/12/16 13:59:12 mroi Exp $ */ #include @@ -98,7 +98,7 @@ static void fooaudio_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) this->size = 0; /* take this opportunity to initialize stream/meta information */ - _x_meta_info_set(this->stream, XINE_META_INFO_AUDIOCODEC, "fooaudio"); + _x_meta_info_set_utf8(this->stream, XINE_META_INFO_AUDIOCODEC, "fooaudio"); /* perform any other required initialization */ this->last_pts = -1; diff --git a/src/libxineadec/gsm610.c b/src/libxineadec/gsm610.c index 16c6b35f6..1a189e493 100644 --- a/src/libxineadec/gsm610.c +++ b/src/libxineadec/gsm610.c @@ -44,7 +44,7 @@ * Carsten Bormann * -------------------------------------------------------------------- * - * $Id: gsm610.c,v 1.15 2004/01/12 17:35:18 miguelfreitas Exp $ + * $Id: gsm610.c,v 1.16 2004/12/16 13:59:12 mroi Exp $ * */ @@ -109,7 +109,7 @@ static void gsm610_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) { this->size = 0; /* stream/meta info */ - _x_meta_info_set(this->stream, XINE_META_INFO_AUDIOCODEC, "GSM 6.10"); + _x_meta_info_set_utf8(this->stream, XINE_META_INFO_AUDIOCODEC, "GSM 6.10"); return; } diff --git a/src/libxineadec/nsf.c b/src/libxineadec/nsf.c index df0b31927..53185c1d5 100644 --- a/src/libxineadec/nsf.c +++ b/src/libxineadec/nsf.c @@ -20,7 +20,7 @@ * NSF Audio "Decoder" using the Nosefart NSF engine by Matt Conte * http://www.baisoku.org/ * - * $Id: nsf.c,v 1.7 2004/01/12 17:35:18 miguelfreitas Exp $ + * $Id: nsf.c,v 1.8 2004/12/16 13:59:12 mroi Exp $ */ #include @@ -86,7 +86,7 @@ static void nsf_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) { this->channels = buf->decoder_info[3]; /* take this opportunity to initialize stream/meta information */ - _x_meta_info_set(this->stream, XINE_META_INFO_AUDIOCODEC, + _x_meta_info_set_utf8(this->stream, XINE_META_INFO_AUDIOCODEC, "NES Music (Nosefart)"); this->song_number = buf->content[4]; -- cgit v1.2.3