Commit 61648423 authored by Anton Khirnov's avatar Anton Khirnov Committed by Ronald S. Bultje

Mention that metadata tags are (unvalidated) UTF-8.

Patch by Anton Khirnov <wyskas gmail com>.

Originally committed as revision 22028 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 6d0155c7
...@@ -63,7 +63,9 @@ struct AVFormatContext; ...@@ -63,7 +63,9 @@ struct AVFormatContext;
/* /*
* Public Metadata API. * Public Metadata API.
* The metadata API allows libavformat to export metadata tags to a client * 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: * Important concepts to keep in mind:
* 1. Keys are unique; there can never be 2 tags with the same key. This is * 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 * also meant semantically, i.e., a demuxer should not knowingly produce
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment