element-maker: improve generation of several classes
[platform/upstream/gstreamer.git] / tools / gstpushsrc.c
1 % ClassName
2 GstPushSrc
3 % TYPE_CLASS_NAME
4 GST_TYPE_PUSH_SRC
5 % pads
6 srcpad-simple
7 % pkg-config
8 gstreamer-base-0.10
9 % includes
10 #include <gst/base/gstpushsrc.h>
11 % prototypes
12 static GstFlowReturn gst_replace_create (GstPushSrc * src, GstBuffer ** buf);
13 % declare-class
14   GstPushSrcClass *pushsrc_class = GST_PUSH_SRC_CLASS (klass);
15 % set-methods
16   pushsrc_class->create = GST_DEBUG_FUNCPTR (gst_replace_create);
17 % methods
18
19 static GstFlowReturn
20 gst_replace_create (GstPushSrc * src, GstBuffer ** buf)
21 {
22
23   return GST_FLOW_OK;
24 }
25 % end