summaryrefslogtreecommitdiff
path: root/src/libxineadec
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2004-12-16 13:58:57 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2004-12-16 13:58:57 +0000
commit4a92f5cbb43ef017728d86857538cab54b29cfde (patch)
treea9fef4b0fa7339e0b5540585531ec89370a233cb /src/libxineadec
parent031c6c1b15e7fff6b46f62763ef73d9d72e82fa2 (diff)
downloadxine-lib-4a92f5cbb43ef017728d86857538cab54b29cfde.tar.gz
xine-lib-4a92f5cbb43ef017728d86857538cab54b29cfde.tar.bz2
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
Diffstat (limited to 'src/libxineadec')
-rw-r--r--src/libxineadec/fooaudio.c4
-rw-r--r--src/libxineadec/gsm610.c4
-rw-r--r--src/libxineadec/nsf.c4
3 files changed, 6 insertions, 6 deletions
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 <stdio.h>
@@ -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 <stdio.h>
@@ -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];