Hi,
our current metadata conversion API has a number of flaws, e.g.:
-exactly one metadata format is hardcoded into AVInputFormat. This is not
enough, since as Reimar pointed out recently, we can find at least ID3
in everything.
-the user must keep track of AVMetadata's format manually.
-av_metadata_conv() can only convert whole AVFormatContext at once.
etc.
Attached patches attempt to introduce a new conversion API which doesn't
have these problems. It might be slighly bulkier to use though, since
metadata now has to be explicitly initialized to desired format.
Please comment.
--
Anton Khirnov