diff options
Diffstat (limited to 'ext/metadata/metadataparseiptc.c')
-rw-r--r-- | ext/metadata/metadataparseiptc.c | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/ext/metadata/metadataparseiptc.c b/ext/metadata/metadataparseiptc.c index 9c983a70..3f3e5eab 100644 --- a/ext/metadata/metadataparseiptc.c +++ b/ext/metadata/metadataparseiptc.c @@ -42,6 +42,7 @@ */ #include "metadataparseiptc.h" +#include "metadataparseutil.h" GST_DEBUG_CATEGORY (gst_metadata_parse_iptc_debug); #define GST_CAT_DEFAULT gst_metadata_parse_iptc_debug @@ -55,26 +56,6 @@ metadataparse_iptc_tags_register (void) GST_TYPE_BUFFER, GST_TAG_IPTC, "iptc metadata chunk", NULL); } -void -metadataparse_tag_list_add_chunk (GstTagList * taglist, GstTagMergeMode mode, - const gchar * name, GstAdapter * adapter) -{ - GstBuffer *buf; - guint size; - - if (adapter && (size = gst_adapter_available (adapter))) { - - buf = gst_buffer_new_and_alloc (size); - - gst_adapter_copy (adapter, GST_BUFFER_DATA (buf), 0, size); - - gst_tag_list_add (taglist, mode, name, buf, NULL); - - gst_buffer_unref (buf); - } - -} - #ifndef HAVE_IPTC void |