diff --git a/docs/pwg/building-eventfn.xml b/docs/pwg/building-eventfn.xml index 51836effb3..b72e376bf3 100644 --- a/docs/pwg/building-eventfn.xml +++ b/docs/pwg/building-eventfn.xml @@ -13,18 +13,11 @@ Below follows a very simple event function that we install on the sink pad of our element. - + +sinkpad, gst_my_filter_sink_event); [..] } @@ -67,6 +60,7 @@ gst_my_filter_sink_event (GstPad *pad, } return ret; } +]]> It is a good idea to call the default event handler