mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-05-04 07:24:46 +00:00
better debug info
Original commit message from CVS: better debug info
This commit is contained in:
parent
180ca5400a
commit
27d587b023
2 changed files with 11 additions and 3 deletions
|
@ -698,7 +698,8 @@ gst_bin_change_state (GstElement * element)
|
|||
pending = GST_STATE_PENDING (element);
|
||||
transition = GST_STATE_TRANSITION (element);
|
||||
|
||||
GST_CAT_DEBUG_OBJECT (GST_CAT_STATES, element, "changing childrens' state from %s to %s",
|
||||
GST_CAT_DEBUG_OBJECT (GST_CAT_STATES, element,
|
||||
"changing state of children from %s to %s",
|
||||
gst_element_state_get_name (old_state),
|
||||
gst_element_state_get_name (pending));
|
||||
|
||||
|
@ -726,6 +727,11 @@ gst_bin_change_state (GstElement * element)
|
|||
|
||||
old_child_state = GST_STATE (child);
|
||||
|
||||
GST_CAT_DEBUG_OBJECT (GST_CAT_STATES, element,
|
||||
"changing state of child %s from current %s to pending %s",
|
||||
GST_ELEMENT_NAME (child), gst_element_state_get_name (old_child_state),
|
||||
gst_element_state_get_name (pending));
|
||||
|
||||
switch (gst_element_set_state (child, pending)) {
|
||||
case GST_STATE_FAILURE:
|
||||
GST_CAT_INFO_OBJECT (GST_CAT_STATES, element,
|
||||
|
|
|
@ -1151,7 +1151,8 @@ gst_pad_link_fixate (GstPadLink *link)
|
|||
if (GST_RPAD_FIXATEFUNC(link->srcpad)) {
|
||||
newcaps = GST_RPAD_FIXATEFUNC(link->srcpad) (
|
||||
GST_PAD (link->srcpad), caps);
|
||||
GST_DEBUG ("srcpad fixated to %" GST_PTR_FORMAT, newcaps);
|
||||
GST_DEBUG ("srcpad %s:%s fixated to %" GST_PTR_FORMAT,
|
||||
GST_DEBUG_PAD_NAME (link->srcpad), newcaps);
|
||||
}
|
||||
else
|
||||
GST_DEBUG ("srcpad %s:%s doesn't have a fixate function",
|
||||
|
@ -1162,7 +1163,8 @@ gst_pad_link_fixate (GstPadLink *link)
|
|||
if (GST_RPAD_FIXATEFUNC(link->sinkpad)) {
|
||||
newcaps = GST_RPAD_FIXATEFUNC(link->sinkpad) (
|
||||
GST_PAD (link->sinkpad), caps);
|
||||
GST_DEBUG ("sinkpad fixated to %" GST_PTR_FORMAT, newcaps);
|
||||
GST_DEBUG ("sinkpad %s:%s fixated to %" GST_PTR_FORMAT,
|
||||
GST_DEBUG_PAD_NAME (link->sinkpad), newcaps);
|
||||
}
|
||||
else
|
||||
GST_DEBUG ("sinkpad %s:%s doesn't have a fixate function",
|
||||
|
|
Loading…
Reference in a new issue