2010-12-15 20:45:38 +00:00
|
|
|
/* vim: set filetype=c: */
|
2010-04-14 23:32:34 +00:00
|
|
|
% ClassName
|
|
|
|
GstPushSrc
|
|
|
|
% TYPE_CLASS_NAME
|
|
|
|
GST_TYPE_PUSH_SRC
|
2010-12-15 03:03:09 +00:00
|
|
|
% pads
|
|
|
|
srcpad-simple
|
2010-04-14 23:32:34 +00:00
|
|
|
% pkg-config
|
|
|
|
gstreamer-base-0.10
|
|
|
|
% includes
|
|
|
|
#include <gst/base/gstpushsrc.h>
|
|
|
|
% prototypes
|
|
|
|
static GstFlowReturn gst_replace_create (GstPushSrc * src, GstBuffer ** buf);
|
|
|
|
% declare-class
|
2010-12-15 03:03:09 +00:00
|
|
|
GstPushSrcClass *pushsrc_class = GST_PUSH_SRC_CLASS (klass);
|
2010-04-14 23:32:34 +00:00
|
|
|
% set-methods
|
2010-12-15 03:03:09 +00:00
|
|
|
pushsrc_class->create = GST_DEBUG_FUNCPTR (gst_replace_create);
|
2010-04-14 23:32:34 +00:00
|
|
|
% methods
|
|
|
|
|
|
|
|
static GstFlowReturn
|
|
|
|
gst_replace_create (GstPushSrc * src, GstBuffer ** buf)
|
|
|
|
{
|
|
|
|
|
2010-12-15 03:03:09 +00:00
|
|
|
return GST_FLOW_OK;
|
2010-04-14 23:32:34 +00:00
|
|
|
}
|
|
|
|
% end
|