summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>2009-07-16 18:14:18 +0300
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>2009-07-16 18:15:31 +0300
commit1b246c72d19616a20a85697aebab6146da44d364 (patch)
treee09476aac14f8c735afc2995fe2b5b152d44a98a /ext
parent6303b0e80d0904f271a881e02aeffd2e91689121 (diff)
downloadgst-plugins-bad-1b246c72d19616a20a85697aebab6146da44d364.tar.gz
gst-plugins-bad-1b246c72d19616a20a85697aebab6146da44d364.tar.bz2
gst-plugins-bad-1b246c72d19616a20a85697aebab6146da44d364.zip
Add more debug output to metadatamux
Diffstat (limited to 'ext')
-rw-r--r--ext/metadata/gstmetadatamux.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/metadata/gstmetadatamux.c b/ext/metadata/gstmetadatamux.c
index e6a66fa3..9ddf6ccf 100644
--- a/ext/metadata/gstmetadatamux.c
+++ b/ext/metadata/gstmetadatamux.c
@@ -418,9 +418,12 @@ gst_metadata_mux_create_chunks_from_tags (GstBaseMetadata * base)
guint8 *buf = NULL;
guint32 size = 0;
+ GST_DEBUG_OBJECT (base, "Creating chunks from tags..");
+
if (taglist) {
if (gst_base_metadata_get_option_flag (base) & META_OPT_EXIF) {
+ GST_DEBUG_OBJECT (base, "Using EXIF");
metadatamux_exif_create_chunk_from_tag_list (&buf, &size, taglist,
&filter->exif_options);
gst_base_metadata_update_inject_segment_with_new_data (base, &buf, &size,
@@ -428,12 +431,14 @@ gst_metadata_mux_create_chunks_from_tags (GstBaseMetadata * base)
}
if (gst_base_metadata_get_option_flag (base) & META_OPT_IPTC) {
+ GST_DEBUG_OBJECT (base, "Using IPTC");
metadatamux_iptc_create_chunk_from_tag_list (&buf, &size, taglist);
gst_base_metadata_update_inject_segment_with_new_data (base, &buf, &size,
MD_CHUNK_IPTC);
}
if (gst_base_metadata_get_option_flag (base) & META_OPT_XMP) {
+ GST_DEBUG_OBJECT (base, "Using XMP");
metadatamux_xmp_create_chunk_from_tag_list (&buf, &size, taglist);
gst_base_metadata_update_inject_segment_with_new_data (base, &buf, &size,
MD_CHUNK_XMP);
@@ -441,6 +446,10 @@ gst_metadata_mux_create_chunks_from_tags (GstBaseMetadata * base)
}
+ else {
+ GST_DEBUG_OBJECT (base, "Empty taglist");
+ }
+
if (buf) {
g_free (buf);
}