From: Michael R. <mr...@us...> - 2004-12-16 13:59:29
|
Update of /cvsroot/xine/xine-lib/src/libxineadec In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4004/src/libxineadec Modified Files: nsf.c fooaudio.c gsm610.c Log Message: 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) Index: nsf.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/libxineadec/nsf.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- nsf.c 12 Jan 2004 17:35:18 -0000 1.7 +++ nsf.c 16 Dec 2004 13:59:12 -0000 1.8 @@ -86,7 +86,7 @@ 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]; Index: fooaudio.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/libxineadec/fooaudio.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- fooaudio.c 17 Mar 2004 22:50:35 -0000 1.13 +++ fooaudio.c 16 Dec 2004 13:59:12 -0000 1.14 @@ -98,7 +98,7 @@ 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; Index: gsm610.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/libxineadec/gsm610.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- gsm610.c 12 Jan 2004 17:35:18 -0000 1.15 +++ gsm610.c 16 Dec 2004 13:59:12 -0000 1.16 @@ -109,7 +109,7 @@ 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; } |