tag_handler: handle arbitrary name/value pairs

The new method pair() receives an arbitrary name/value pair.  Support
for this is being added to a few decoder plugins.
This commit is contained in:
Max Kellermann
2012-02-11 19:24:51 +01:00
parent 1783aac438
commit ffea273a28
9 changed files with 114 additions and 9 deletions

View File

@@ -49,6 +49,8 @@ tag_ape_import_item(unsigned long flags,
if ((flags & (0x3 << 1)) != 0)
return;
tag_handler_invoke_pair(handler, handler_ctx, key, value);
enum tag_type type = tag_ape_name_parse(key);
if (type == TAG_NUM_OF_ITEM_TYPES)
return;