debug changes

Original commit message from CVS:
debug changes
This commit is contained in:
Thomas Vander Stichele 2007-04-13 21:09:04 +00:00
parent 57ba080628
commit 9b7fcfdcae
2 changed files with 4 additions and 3 deletions

View file

@ -408,6 +408,7 @@ gst_ogg_mux_request_new_pad (GstElement * element,
serial = atoi (&req_name[5]); serial = atoi (&req_name[5]);
} }
/* create new pad with the name */ /* 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); name = g_strdup_printf ("sink_%d", serial);
newpad = gst_pad_new_from_template (templ, name); newpad = gst_pad_new_from_template (templ, name);
g_free (name); g_free (name);

View file

@ -312,7 +312,7 @@ gst_gdp_depay_chain (GstPad * pad, GstBuffer * buffer)
/* set caps and push */ /* set caps and push */
gst_buffer_set_caps (buf, this->caps); 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 GST_TIME_FORMAT ", duration %" GST_TIME_FORMAT
", offset %" G_GINT64_FORMAT ", offset_end %" G_GINT64_FORMAT ", offset %" G_GINT64_FORMAT ", offset_end %" G_GINT64_FORMAT
", size %d, flags 0x%x", ", size %d, flags 0x%x",
@ -342,7 +342,7 @@ gst_gdp_depay_chain (GstPad * pad, GstBuffer * buffer)
if (!caps) if (!caps)
goto caps_failed; 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_caps_replace (&(this->caps), caps);
gst_pad_set_caps (this->srcpad, caps); gst_pad_set_caps (this->srcpad, caps);
/* drop the creation ref we still have */ /* drop the creation ref we still have */
@ -369,7 +369,7 @@ gst_gdp_depay_chain (GstPad * pad, GstBuffer * buffer)
if (!event) if (!event)
goto event_failed; 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)); event, gst_event_type_get_name (event->type));
gst_pad_push_event (this->srcpad, event); gst_pad_push_event (this->srcpad, event);