From 23ad5f6b1a8b47162f009cc43f67a9a4395fc5a8 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 5 Nov 2003 01:40:29 +0000 Subject: [PATCH] set chainfunction on request pads (FIXME: do we even support chainbased elements with multiple sinkpads?) Original commit message from CVS: set chainfunction on request pads (FIXME: do we even support chainbased elements with multiple sinkpads?) --- gst/elements/gstfakesink.c | 1 + plugins/elements/gstfakesink.c | 1 + 2 files changed, 2 insertions(+) diff --git a/gst/elements/gstfakesink.c b/gst/elements/gstfakesink.c index fa52606..4e8d3c0 100644 --- a/gst/elements/gstfakesink.c +++ b/gst/elements/gstfakesink.c @@ -233,6 +233,7 @@ gst_fakesink_request_new_pad (GstElement *element, GstPadTemplate *templ, const sinkpad = gst_pad_new_from_template (templ, name); g_free (name); + gst_pad_set_chain_function (sinkpad, GST_DEBUG_FUNCPTR (gst_fakesink_chain)); gst_element_add_pad (GST_ELEMENT (fakesink), sinkpad); diff --git a/plugins/elements/gstfakesink.c b/plugins/elements/gstfakesink.c index fa52606..4e8d3c0 100644 --- a/plugins/elements/gstfakesink.c +++ b/plugins/elements/gstfakesink.c @@ -233,6 +233,7 @@ gst_fakesink_request_new_pad (GstElement *element, GstPadTemplate *templ, const sinkpad = gst_pad_new_from_template (templ, name); g_free (name); + gst_pad_set_chain_function (sinkpad, GST_DEBUG_FUNCPTR (gst_fakesink_chain)); gst_element_add_pad (GST_ELEMENT (fakesink), sinkpad); -- 2.7.4