diff options
author | wm4 <wm4@nowhere> | 2014-12-29 22:51:18 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-12-29 22:51:18 +0100 |
commit | 8048374a5c1eb3af80aa057dcfd20deed39447c8 (patch) | |
tree | 311150ab89f3362a1203da1fd39d47b9dcd58d36 /common/tags.h | |
parent | 6618e5d69ab2f1eef70769e46f4129d13bd7ff29 (diff) | |
download | mpv-8048374a5c1eb3af80aa057dcfd20deed39447c8.tar.bz2 mpv-8048374a5c1eb3af80aa057dcfd20deed39447c8.tar.xz |
player: filter tags, add --display-tags option
This attempts to increase user-friendliness by excluding useless tags.
It should be especially helpful with mp4 files, because the FFmpeg mp4
demuxer adds tons of completely useless information to the metadata.
Fixes #1403.
Diffstat (limited to 'common/tags.h')
-rw-r--r-- | common/tags.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/tags.h b/common/tags.h index b6db5f3df2..dc8539d98f 100644 --- a/common/tags.h +++ b/common/tags.h @@ -15,6 +15,7 @@ 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); struct mp_tags *mp_tags_dup(void *tparent, struct mp_tags *tags); +struct mp_tags *mp_tags_filtered(void *tparent, struct mp_tags *tags, char **list); 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, |