[farsight2/master] Oops, call gst_pad_push, not chain and pass the chain func to GST_DEBUG_FUNCPTR
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:19:32 PST 2008
---
gst/funnel/gstfsfunnel.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gst/funnel/gstfsfunnel.c b/gst/funnel/gstfsfunnel.c
index 9487ca5..ef8eda5 100644
--- a/gst/funnel/gstfsfunnel.c
+++ b/gst/funnel/gstfsfunnel.c
@@ -130,7 +130,7 @@ fs_funnel_request_new_pad (GstElement * element, GstPadTemplate * templ,
// gst_pad_set_setcaps_function ()
- gst_pad_set_chain_function (sinkpad, fs_funnel_chain);
+ gst_pad_set_chain_function (sinkpad, GST_DEBUG_FUNCPTR (fs_funnel_chain));
gst_pad_set_active (sinkpad, TRUE);
@@ -159,7 +159,7 @@ fs_funnel_chain (GstPad * pad, GstBuffer * buffer)
GST_DEBUG_OBJECT (funnel, "received buffer %p", buffer);
- res = gst_pad_chain (funnel->srcpad, buffer);
+ res = gst_pad_push (funnel->srcpad, buffer);
GST_DEBUG_OBJECT (funnel, "handled buffer %s", gst_flow_get_name (res));
--
1.5.6.5
More information about the farsight-commits
mailing list