From 9b7fcfdcae3736d233aab643a86a85c53da791b0 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Fri, 13 Apr 2007 21:09:04 +0000 Subject: [PATCH] debug changes Original commit message from CVS: debug changes --- ext/ogg/gstoggmux.c | 1 + gst/gdp/gstgdpdepay.c | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ext/ogg/gstoggmux.c b/ext/ogg/gstoggmux.c index c941915..8bae9cd 100644 --- a/ext/ogg/gstoggmux.c +++ b/ext/ogg/gstoggmux.c @@ -408,6 +408,7 @@ gst_ogg_mux_request_new_pad (GstElement * element, serial = atoi (&req_name[5]); } /* create new pad with the name */ + GST_DEBUG_OBJECT (ogg_mux, "Creating new pad for serial %d", serial); name = g_strdup_printf ("sink_%d", serial); newpad = gst_pad_new_from_template (templ, name); g_free (name); diff --git a/gst/gdp/gstgdpdepay.c b/gst/gdp/gstgdpdepay.c index 0fdd5c4..16f6a76 100644 --- a/gst/gdp/gstgdpdepay.c +++ b/gst/gdp/gstgdpdepay.c @@ -312,7 +312,7 @@ gst_gdp_depay_chain (GstPad * pad, GstBuffer * buffer) /* set caps and push */ gst_buffer_set_caps (buf, this->caps); - GST_LOG_OBJECT (this, "pushing buffer %p, timestamp %" + GST_LOG_OBJECT (this, "deserialized buffer %p, pushing, timestamp %" GST_TIME_FORMAT ", duration %" GST_TIME_FORMAT ", offset %" G_GINT64_FORMAT ", offset_end %" G_GINT64_FORMAT ", size %d, flags 0x%x", @@ -342,7 +342,7 @@ gst_gdp_depay_chain (GstPad * pad, GstBuffer * buffer) if (!caps) goto caps_failed; - GST_DEBUG_OBJECT (this, "read caps %" GST_PTR_FORMAT, caps); + GST_DEBUG_OBJECT (this, "deserialized caps %" GST_PTR_FORMAT, caps); gst_caps_replace (&(this->caps), caps); gst_pad_set_caps (this->srcpad, caps); /* drop the creation ref we still have */ @@ -369,7 +369,7 @@ gst_gdp_depay_chain (GstPad * pad, GstBuffer * buffer) if (!event) goto event_failed; - GST_DEBUG_OBJECT (this, "sending deserialized event %p of type %s", + GST_DEBUG_OBJECT (this, "deserialized event %p of type %s, pushing", event, gst_event_type_get_name (event->type)); gst_pad_push_event (this->srcpad, event); -- 2.7.4