diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2004-12-12 00:39:14 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2004-12-12 00:39:14 +0000 |
commit | f54d66219c485118947678ca8d9e32b04ff03099 (patch) | |
tree | b5cc607f9381812c56adf8092936d19412d59e54 /src/xine-engine/info_helper.h | |
parent | ec0b25f428cfeab34342888ba6fc3457dd9fcc8c (diff) | |
download | xine-lib-f54d66219c485118947678ca8d9e32b04ff03099.tar.gz xine-lib-f54d66219c485118947678ca8d9e32b04ff03099.tar.bz2 |
ok, so now metadata *IS* UTF-8.
i hope frontend developers are reading this...
CVS patchset: 7223
CVS date: 2004/12/12 00:39:14
Diffstat (limited to 'src/xine-engine/info_helper.h')
-rw-r--r-- | src/xine-engine/info_helper.h | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/src/xine-engine/info_helper.h b/src/xine-engine/info_helper.h index 44a994599..0d8f03925 100644 --- a/src/xine-engine/info_helper.h +++ b/src/xine-engine/info_helper.h @@ -86,12 +86,35 @@ uint32_t _x_stream_info_get_public(xine_stream_t *stream, int info); * params: * *stream the xine stream * info meta info id (see xine.h, XINE_META_INFO_*) - * *str null-terminated string + * *str null-terminated string (using current locale) * */ void _x_meta_info_set(xine_stream_t *stream, int info, const char *str); /* + * set a stream meta info + * + * params: + * *stream the xine stream + * info meta info id (see xine.h, XINE_META_INFO_*) + * *str null-terminated string (using utf8) + * + */ +void _x_meta_info_set_utf8(xine_stream_t *stream, int info, const char *str); + +/* + * set a stream meta info + * + * params: + * *stream the xine stream + * info meta info id (see xine.h, XINE_META_INFO_*) + * *str null-terminated string (using encoding below) + * *enc charset encoding of the string + * + */ +void _x_meta_info_set_encoding(xine_stream_t *stream, int info, const char *str, const char *enc); + +/* * set a stream meta multiple info * * params: |