summaryrefslogtreecommitdiff
path: root/src/liblpcm/xine_decoder.c
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/liblpcm/xine_decoder.c
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/liblpcm/xine_decoder.c')
-rw-r--r--src/liblpcm/xine_decoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liblpcm/xine_decoder.c b/src/liblpcm/xine_decoder.c
index 4e568fcbe..5577ff998 100644
--- a/src/liblpcm/xine_decoder.c
+++ b/src/liblpcm/xine_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_decoder.c,v 1.55 2004/11/19 05:35:49 tmmm Exp $
+ * $Id: xine_decoder.c,v 1.56 2004/12/16 13:59:10 mroi Exp $
*
* 31-8-2001 Added LPCM rate sensing.
* (c) 2001 James Courtier-Dutton James@superbug.demon.co.uk
@@ -145,7 +145,7 @@ static void lpcm_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) {
this->ao_cap_mode) ;
/* stream/meta info */
- _x_meta_info_set(this->stream, XINE_META_INFO_AUDIOCODEC, "Linear PCM");
+ _x_meta_info_set_utf8(this->stream, XINE_META_INFO_AUDIOCODEC, "Linear PCM");
_x_stream_info_set(this->stream, XINE_STREAM_INFO_AUDIO_BITRATE,
this->bits_per_sample * this->rate * this->number_of_channels);
}