core: pad: fully log event being pushed

It's useful when debugging to check the details of the event being sent,
like the segment for example.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4493>
This commit is contained in:
Guillaume Desmottes 2023-04-26 15:55:05 +02:00 committed by GStreamer Marge Bot
parent 781a228d3a
commit 0d254f59b8

View file

@ -5566,8 +5566,9 @@ gst_pad_push_event_unchecked (GstPad * pad, GstEvent * event,
pad->priv->using++;
GST_OBJECT_UNLOCK (pad);
GST_LOG_OBJECT (pad, "sending event %p (%s) to peerpad %" GST_PTR_FORMAT,
event, gst_event_type_get_name (event_type), peerpad);
GST_LOG_OBJECT (pad,
"sending event %" GST_PTR_FORMAT " to peerpad %" GST_PTR_FORMAT,
event, peerpad);
ret = gst_pad_send_event_unchecked (peerpad, event, type);