gst/gstelement.c: Give some log-messages a category.

Original commit message from CVS:
* gst/gstelement.c:
Give some log-messages a category.
This commit is contained in:
Stefan Kost 2007-09-05 13:24:31 +00:00
parent a0274c10a7
commit 756049dc07
2 changed files with 13 additions and 5 deletions

View file

@ -1,3 +1,8 @@
2007-09-05 Stefan Kost <ensonic@users.sf.net>
* gst/gstelement.c:
Give some log-messages a category.
2007-09-04 Wim Taymans <wim.taymans@gmail.com>
* gst/gststructure.c:

View file

@ -484,8 +484,8 @@ gst_element_set_base_time (GstElement * element, GstClockTime time)
element->base_time = time;
GST_OBJECT_UNLOCK (element);
GST_DEBUG_OBJECT (element, "set base_time=%" GST_TIME_FORMAT,
GST_TIME_ARGS (time));
GST_CAT_DEBUG_OBJECT (GST_CAT_CLOCK, element,
"set base_time=%" GST_TIME_FORMAT, GST_TIME_ARGS (time));
}
/**
@ -1552,7 +1552,8 @@ gst_element_post_message (GstElement * element, GstMessage * message)
/* ERRORS */
no_bus:
{
GST_DEBUG_OBJECT (element, "not posting message %p: no bus", message);
GST_CAT_DEBUG_OBJECT (GST_CAT_MESSAGE, element,
"not posting message %p: no bus", message);
GST_OBJECT_UNLOCK (element);
gst_message_unref (message);
return FALSE;
@ -2547,7 +2548,8 @@ gst_element_pads_activate (GstElement * element, gboolean active)
GstIterator *iter;
gboolean res;
GST_DEBUG_OBJECT (element, "pads_activate with active %d", active);
GST_CAT_DEBUG_OBJECT (GST_CAT_ELEMENT_PADS, element,
"pads_activate with active %d", active);
iter = gst_element_iterate_src_pads (element);
res =
@ -2576,7 +2578,8 @@ gst_element_pads_activate (GstElement * element, gboolean active)
goto caps_failed;
}
GST_DEBUG_OBJECT (element, "pads_activate successful");
GST_CAT_DEBUG_OBJECT (GST_CAT_ELEMENT_PADS, element,
"pads_activate successful");
return TRUE;