summaryrefslogtreecommitdiff
path: root/tools/element-templates/pushsrc
blob: 4dfb6784945a45e3d11640491479a9e94dd0a9f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* vim: set filetype=c: */
% ClassName
GstPushSrc
% TYPE_CLASS_NAME
GST_TYPE_PUSH_SRC
% pads
srcpad-simple
% pkg-config
gstreamer-base-0.10
% includes
#include <gst/base/gstpushsrc.h>
% prototypes
static GstFlowReturn gst_replace_create (GstPushSrc * src, GstBuffer ** buf);
% declare-class
  GstPushSrcClass *pushsrc_class = GST_PUSH_SRC_CLASS (klass);
% set-methods
  pushsrc_class->create = GST_DEBUG_FUNCPTR (gst_replace_create);
% methods

static GstFlowReturn
gst_replace_create (GstPushSrc * src, GstBuffer ** buf)
{

  return GST_FLOW_OK;
}
% end