mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
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:
parent
9cadba0df4
commit
23ad5f6b1a
2 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue