diff --git a/gst/elements/gstfakesink.c b/gst/elements/gstfakesink.c index fa526061d7..4e8d3c010e 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 fa526061d7..4e8d3c010e 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);