From 7e209185f1fa804dda4474de7246a4d85418315e Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 5 Jul 2014 16:45:56 +0200 Subject: demux, stream: change metadata notification (Again.) This time, we simply make it event-based, as it should be. This is done for both demuxer metadata and stream metadata. For some ogg-over-icy streams, 2 updates are reported on stream start. This is because libavformat reports an update right on start, while including the same info in the "static" metadata. I don't know if that's a bug or a feature. --- common/tags.h | 1 + 1 file changed, 1 insertion(+) (limited to 'common/tags.h') diff --git a/common/tags.h b/common/tags.h index 3bc0e6984b..4b7bcfa791 100644 --- a/common/tags.h +++ b/common/tags.h @@ -14,6 +14,7 @@ void mp_tags_set_bstr(struct mp_tags *tags, bstr key, bstr value); char *mp_tags_get_str(struct mp_tags *tags, const char *key); char *mp_tags_get_bstr(struct mp_tags *tags, bstr key); void mp_tags_clear(struct mp_tags *tags); +void mp_tags_merge(struct mp_tags *tags, struct mp_tags *src); struct AVDictionary; void mp_tags_copy_from_av_dictionary(struct mp_tags *tags, struct AVDictionary *av_dict); -- cgit v1.2.3