Mercurial > libavformat.hg
changeset 5712:20877abd6b08 libavformat
Mention that metadata tags are (unvalidated) UTF-8.
Patch by Anton Khirnov <wyskas gmail com>.
author | rbultje |
---|---|
date | Wed, 24 Feb 2010 18:01:44 +0000 |
parents | 1481fbffd30b |
children | 0db115a3dbb4 |
files | avformat.h |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/avformat.h Wed Feb 24 11:43:33 2010 +0000 +++ b/avformat.h Wed Feb 24 18:01:44 2010 +0000 @@ -63,7 +63,9 @@ /* * Public Metadata API. * The metadata API allows libavformat to export metadata tags to a client - * application using a sequence of key/value pairs. + * application using a sequence of key/value pairs. Like all strings in FFmpeg, + * metadata must be stored as UTF-8 encoded Unicode. Note that metadata + * exported by demuxers isn't checked to be valid UTF-8 in most cases. * Important concepts to keep in mind: * 1. Keys are unique; there can never be 2 tags with the same key. This is * also meant semantically, i.e., a demuxer should not knowingly produce