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

@@ -414,6 +414,8 @@ mp4ff_scan_stream(struct input_stream *is,
mp4ff_meta_get_by_index(mp4fh, i, &item, &value);
tag_handler_invoke_pair(handler, handler_ctx, item, value);
enum tag_type type = mp4ff_tag_name_parse(item);
if (type != TAG_NUM_OF_ITEM_TYPES)
tag_handler_invoke_tag(handler, handler_ctx,