From bc79ded75a63ae79a1119f5ca578d41fca04b283 Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Sun, 13 Apr 2014 05:01:55 -0700 Subject: 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 --- demux/demux.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'demux/demux.h') 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); -- cgit v1.2.3