mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
gstpad: make some debug statements more verbose
This commit is contained in:
parent
8d8608c23b
commit
5aefdbaf10
1 changed files with 4 additions and 3 deletions
|
@ -2719,7 +2719,8 @@ gst_pad_event_default (GstPad * pad, GstObject * parent, GstEvent * event)
|
||||||
g_return_val_if_fail (GST_IS_PAD (pad), FALSE);
|
g_return_val_if_fail (GST_IS_PAD (pad), FALSE);
|
||||||
g_return_val_if_fail (event != NULL, FALSE);
|
g_return_val_if_fail (event != NULL, FALSE);
|
||||||
|
|
||||||
GST_LOG_OBJECT (pad, "default event handler");
|
GST_LOG_OBJECT (pad, "default event handler for event %" GST_PTR_FORMAT,
|
||||||
|
event);
|
||||||
|
|
||||||
switch (GST_EVENT_TYPE (event)) {
|
switch (GST_EVENT_TYPE (event)) {
|
||||||
case GST_EVENT_CAPS:
|
case GST_EVENT_CAPS:
|
||||||
|
@ -4466,8 +4467,8 @@ gst_pad_push_event_unchecked (GstPad * pad, GstEvent * event,
|
||||||
/* Note: we gave away ownership of the event at this point but we can still
|
/* Note: we gave away ownership of the event at this point but we can still
|
||||||
* print the old pointer */
|
* print the old pointer */
|
||||||
GST_LOG_OBJECT (pad,
|
GST_LOG_OBJECT (pad,
|
||||||
"sent event %p to peerpad %" GST_PTR_FORMAT ", ret %s", event, peerpad,
|
"sent event %" GST_PTR_FORMAT " to peerpad %"
|
||||||
gst_flow_get_name (ret));
|
GST_PTR_FORMAT ", ret %s", event, peerpad, gst_flow_get_name (ret));
|
||||||
|
|
||||||
gst_object_unref (peerpad);
|
gst_object_unref (peerpad);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue