Gstreamer  plugin template code