mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
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:
parent
781a228d3a
commit
0d254f59b8
1 changed files with 3 additions and 2 deletions
|
@ -5566,8 +5566,9 @@ gst_pad_push_event_unchecked (GstPad * pad, GstEvent * event,
|
||||||
pad->priv->using++;
|
pad->priv->using++;
|
||||||
GST_OBJECT_UNLOCK (pad);
|
GST_OBJECT_UNLOCK (pad);
|
||||||
|
|
||||||
GST_LOG_OBJECT (pad, "sending event %p (%s) to peerpad %" GST_PTR_FORMAT,
|
GST_LOG_OBJECT (pad,
|
||||||
event, gst_event_type_get_name (event_type), peerpad);
|
"sending event %" GST_PTR_FORMAT " to peerpad %" GST_PTR_FORMAT,
|
||||||
|
event, peerpad);
|
||||||
|
|
||||||
ret = gst_pad_send_event_unchecked (peerpad, event, type);
|
ret = gst_pad_send_event_unchecked (peerpad, event, type);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue