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?)
This commit is contained in:
Benjamin Otte 2003-11-05 01:40:29 +00:00
parent 9cadba0df4
commit 23ad5f6b1a
2 changed files with 2 additions and 0 deletions

View file

@ -233,6 +233,7 @@ gst_fakesink_request_new_pad (GstElement *element, GstPadTemplate *templ, const
sinkpad = gst_pad_new_from_template (templ, name); sinkpad = gst_pad_new_from_template (templ, name);
g_free (name); g_free (name);
gst_pad_set_chain_function (sinkpad, GST_DEBUG_FUNCPTR (gst_fakesink_chain));
gst_element_add_pad (GST_ELEMENT (fakesink), sinkpad); gst_element_add_pad (GST_ELEMENT (fakesink), sinkpad);

View file

@ -233,6 +233,7 @@ gst_fakesink_request_new_pad (GstElement *element, GstPadTemplate *templ, const
sinkpad = gst_pad_new_from_template (templ, name); sinkpad = gst_pad_new_from_template (templ, name);
g_free (name); g_free (name);
gst_pad_set_chain_function (sinkpad, GST_DEBUG_FUNCPTR (gst_fakesink_chain));
gst_element_add_pad (GST_ELEMENT (fakesink), sinkpad); gst_element_add_pad (GST_ELEMENT (fakesink), sinkpad);