From e2f71f509fde010e4d0f175014fd4219b7dc7681 Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Sat, 23 Dec 2017 19:14:16 -0700 Subject: tags: add mp_tags_remove This removes all tags matching the provided key. This will be used for removing metadata tags during encoding. --- common/tags.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/tags.h') diff --git a/common/tags.h b/common/tags.h index dc8539d98f..3e538e7b76 100644 --- a/common/tags.h +++ b/common/tags.h @@ -11,6 +11,8 @@ struct mp_tags { void mp_tags_set_str(struct mp_tags *tags, const char *key, const char *value); void mp_tags_set_bstr(struct mp_tags *tags, bstr key, bstr value); +void mp_tags_remove_str(struct mp_tags *tags, const char *key); +void mp_tags_remove_bstr(struct mp_tags *tags, bstr key); 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); -- cgit v1.2.3