diff options
author | Edgard Lima <edgard.lima@indt.org.br> | 2007-11-01 16:04:29 +0000 |
---|---|---|
committer | Edgard Lima <edgard.lima@indt.org.br> | 2007-11-01 16:04:29 +0000 |
commit | 929954f595220293179b7ce22f563f1707934566 (patch) | |
tree | 786173419229d5f8f8bbbb28dd201a27d75baeeb /ext/metadata/metadataparseiptc.c | |
parent | 5888898c570f0f22c930d8c66fe0949d00a90b93 (diff) | |
download | gst-plugins-bad-929954f595220293179b7ce22f563f1707934566.tar.gz gst-plugins-bad-929954f595220293179b7ce22f563f1707934566.tar.bz2 gst-plugins-bad-929954f595220293179b7ce22f563f1707934566.zip |
Some XMP stuff added.
Original commit message from CVS:
Some XMP stuff added.
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 |