diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2014-04-13 05:01:55 -0700 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-04-13 18:03:01 +0200 |
commit | bc79ded75a63ae79a1119f5ca578d41fca04b283 (patch) | |
tree | c6d04bd0d0b090373f154b351fb7fabfd9ab529f /demux/demux.h | |
parent | 47972a0077892636fb922a3600d66779636b7ee7 (diff) | |
download | mpv-bc79ded75a63ae79a1119f5ca578d41fca04b283.tar.bz2 mpv-bc79ded75a63ae79a1119f5ca578d41fca04b283.tar.xz |
mp_tags: move generic mp_tags stuff into its own .c/.h files in common/
rename add_metadata to the more genera/descriptive mp_tags_copy_items_from_av_dictionary
Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'demux/demux.h')
-rw-r--r-- | demux/demux.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/demux/demux.h b/demux/demux.h index 2d2bdfacc3..81568b96b9 100644 --- a/demux/demux.h +++ b/demux/demux.h @@ -27,6 +27,7 @@ #include "bstr/bstr.h" #include "common/common.h" +#include "common/tags.h" #include "packet.h" #include "stheader.h" @@ -104,12 +105,6 @@ typedef struct demuxer_desc { int (*control)(struct demuxer *demuxer, int cmd, void *arg); } demuxer_desc_t; -struct mp_tags { - char **keys; - char **values; - int num_keys; -}; - typedef struct demux_chapter { int original_index; @@ -292,12 +287,6 @@ double demux_packet_list_duration(struct demux_packet **pkts, int num_pkts); struct demux_packet *demux_packet_list_fill(struct demux_packet **pkts, int num_pkts, int *current); -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); -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); - bool demux_matroska_uid_cmp(struct matroska_segment_uid *a, struct matroska_segment_uid *b); |