mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
pad: add some debug to fast push path
... so we don't loose track at times it is needed the most.
This commit is contained in:
parent
27c0bc93b7
commit
58868d4218
1 changed files with 8 additions and 0 deletions
|
@ -4645,8 +4645,16 @@ gst_pad_push (GstPad * pad, GstBuffer * buffer)
|
||||||
|
|
||||||
GST_PAD_STREAM_LOCK (peer);
|
GST_PAD_STREAM_LOCK (peer);
|
||||||
|
|
||||||
|
GST_CAT_LOG_OBJECT (GST_CAT_SCHEDULING, pad, "calling chainfunction &%s",
|
||||||
|
GST_DEBUG_FUNCPTR_NAME (GST_PAD_CHAINFUNC (peer)));
|
||||||
|
|
||||||
ret = GST_PAD_CHAINFUNC (peer) (peer, buffer);
|
ret = GST_PAD_CHAINFUNC (peer) (peer, buffer);
|
||||||
|
|
||||||
|
GST_CAT_LOG_OBJECT (GST_CAT_SCHEDULING, pad,
|
||||||
|
"called chainfunction &%s, returned %s",
|
||||||
|
GST_DEBUG_FUNCPTR_NAME (GST_PAD_CHAINFUNC (peer)),
|
||||||
|
gst_flow_get_name (ret));
|
||||||
|
|
||||||
GST_PAD_STREAM_UNLOCK (peer);
|
GST_PAD_STREAM_UNLOCK (peer);
|
||||||
|
|
||||||
pad_put_cache (pad, cache, cache_ptr);
|
pad_put_cache (pad, cache, cache_ptr);
|
||||||
|
|
Loading…
Reference in a new issue