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:
Mark Nauwelaerts 2010-12-06 11:07:38 +01:00
parent 27c0bc93b7
commit 58868d4218

View file

@ -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);