[0.11] gst-plugins-good: qtmux: make debug message more useful

Sebastian Dröge slomo at kemper.freedesktop.org
Tue Jan 10 05:33:04 PST 2012


Module: gst-plugins-good
Branch: 0.11
Commit: 4a5364d7f6db3fad2811d25b8c1cfae61fbec3c9
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=4a5364d7f6db3fad2811d25b8c1cfae61fbec3c9

Author: Thiago Santos <thiago.sousa.santos at collabora.com>
Date:   Mon Dec 12 11:51:06 2011 -0300

qtmux: make debug message more useful

Add information about the taglist and which pad received the
tag event on the debug logging.

---

 gst/isomp4/gstqtmux.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/gst/isomp4/gstqtmux.c b/gst/isomp4/gstqtmux.c
index a83835c..ed32e49 100644
--- a/gst/isomp4/gstqtmux.c
+++ b/gst/isomp4/gstqtmux.c
@@ -3273,8 +3273,9 @@ gst_qt_mux_sink_event (GstPad * pad, GstEvent * event)
       GST_OBJECT_LOCK (qtmux);
       mode = gst_tag_setter_get_tag_merge_mode (setter);
 
-      GST_DEBUG_OBJECT (qtmux, "received tag event");
       gst_event_parse_tag (event, &list);
+      GST_DEBUG_OBJECT (qtmux, "received tag event on pad %s:%s : %"
+          GST_PTR_FORMAT, GST_DEBUG_PAD_NAME (pad), list);
 
       gst_tag_setter_merge_tags (setter, list, mode);
       GST_OBJECT_UNLOCK (qtmux);



More information about the gstreamer-commits mailing list