summaryrefslogtreecommitdiffstats
path: root/common/tags.h
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2017-12-23 19:14:16 -0700
committerKevin Mitchell <kevmitch@gmail.com>2017-12-26 03:33:18 -0700
commite2f71f509fde010e4d0f175014fd4219b7dc7681 (patch)
treee424fe1f86c79f5288b50b72996c4603756419e0 /common/tags.h
parente530783cdbdd95500aa86cfbcbfe005f6e0f5f41 (diff)
downloadmpv-e2f71f509fde010e4d0f175014fd4219b7dc7681.tar.bz2
mpv-e2f71f509fde010e4d0f175014fd4219b7dc7681.tar.xz
tags: add mp_tags_remove
This removes all tags matching the provided key. This will be used for removing metadata tags during encoding.
Diffstat (limited to 'common/tags.h')
-rw-r--r--common/tags.h2
1 files changed, 2 insertions, 0 deletions
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);