diff --git a/ext/mimic/gstmimdec.c b/ext/mimic/gstmimdec.c index ef7068556d..0ab7a0fdb6 100644 --- a/ext/mimic/gstmimdec.c +++ b/ext/mimic/gstmimdec.c @@ -101,7 +101,7 @@ gst_mim_dec_class_init (GstMimDecClass * klass) gobject_class = (GObjectClass *) klass; gstelement_class = (GstElementClass *) klass; - gstelement_class->change_state = gst_mim_dec_change_state; + gstelement_class->change_state = GST_DEBUG_FUNCPTR (gst_mim_dec_change_state); gobject_class->finalize = gst_mim_dec_finalize; @@ -113,8 +113,10 @@ gst_mim_dec_init (GstMimDec * mimdec, GstMimDecClass * klass) { mimdec->sinkpad = gst_pad_new_from_static_template (&sink_factory, "sink"); gst_element_add_pad (GST_ELEMENT (mimdec), mimdec->sinkpad); - gst_pad_set_chain_function (mimdec->sinkpad, gst_mim_dec_chain); - gst_pad_set_event_function (mimdec->sinkpad, gst_mim_dec_sink_event); + gst_pad_set_chain_function (mimdec->sinkpad, + GST_DEBUG_FUNCPTR (gst_mim_dec_chain)); + gst_pad_set_event_function (mimdec->sinkpad, + GST_DEBUG_FUNCPTR (gst_mim_dec_sink_event)); mimdec->srcpad = gst_pad_new_from_static_template (&src_factory, "src"); gst_element_add_pad (GST_ELEMENT (mimdec), mimdec->srcpad); diff --git a/ext/mimic/gstmimenc.c b/ext/mimic/gstmimenc.c index 8c70faded0..7a7df3cec5 100644 --- a/ext/mimic/gstmimenc.c +++ b/ext/mimic/gstmimenc.c @@ -131,7 +131,7 @@ gst_mim_enc_class_init (GstMimEncClass * klass) gobject_class = (GObjectClass *) klass; gstelement_class = (GstElementClass *) klass; - gstelement_class->change_state = gst_mim_enc_change_state; + gstelement_class->change_state = GST_DEBUG_FUNCPTR (gst_mim_enc_change_state); GST_DEBUG_CATEGORY_INIT (mimenc_debug, "mimenc", 0, "Mimic encoder plugin"); } @@ -141,9 +141,12 @@ gst_mim_enc_init (GstMimEnc * mimenc, GstMimEncClass * klass) { mimenc->sinkpad = gst_pad_new_from_static_template (&sink_factory, "sink"); gst_element_add_pad (GST_ELEMENT (mimenc), mimenc->sinkpad); - gst_pad_set_setcaps_function (mimenc->sinkpad, gst_mim_enc_setcaps); - gst_pad_set_chain_function (mimenc->sinkpad, gst_mim_enc_chain); - gst_pad_set_event_function (mimenc->sinkpad, gst_mim_enc_event); + gst_pad_set_setcaps_function (mimenc->sinkpad, + GST_DEBUG_FUNCPTR (gst_mim_enc_setcaps)); + gst_pad_set_chain_function (mimenc->sinkpad, + GST_DEBUG_FUNCPTR (gst_mim_enc_chain)); + gst_pad_set_event_function (mimenc->sinkpad, + GST_DEBUG_FUNCPTR (gst_mim_enc_event)); mimenc->srcpad = gst_pad_new_from_static_template (&src_factory, "src"); gst_element_add_pad (GST_ELEMENT (mimenc), mimenc->srcpad);