projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27c0bc9
)
pad: add some debug to fast push path
author
Mark Nauwelaerts
<mark.nauwelaerts@collabora.co.uk>
Mon, 6 Dec 2010 10:07:38 +0000
(11:07 +0100)
committer
Mark Nauwelaerts
<mark.nauwelaerts@collabora.co.uk>
Mon, 6 Dec 2010 10:07:38 +0000
(11:07 +0100)
... so we don't loose track at times it is needed the most.
gst/gstpad.c
patch
|
blob
|
history
diff --git
a/gst/gstpad.c
b/gst/gstpad.c
index
2b136d0
..
cb9f8e0
100644
(file)
--- a/
gst/gstpad.c
+++ b/
gst/gstpad.c
@@
-4645,8
+4645,16
@@
gst_pad_push (GstPad * pad, GstBuffer * buffer)
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);
+ 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);
pad_put_cache (pad, cache, cache_ptr);