gstreamer/tools/gstbasertppayload.c
David Schleef da1fe1e0dd element-maker: improve generation of several classes
Better creation of pads, test and fix many other classes.  Most
classes work now, although might not create functional elements.
2010-12-14 19:04:45 -08:00

48 lines
1.1 KiB
C

% ClassName
GstBaseRTPPayload
% TYPE_CLASS_NAME
GST_TYPE_BASE_RTP_PAYLOAD
% pads
sinkpad-simple srcpad-simple
% pkg-config
gstreamer-rtp-0.10
% includes
#include <gst/rtp/gstbasertppayload.h>
% prototypes
static gboolean
gst_replace_set_caps (GstBaseRTPPayload * payload, GstCaps * caps);
static GstFlowReturn
gst_replace_handle_buffer (GstBaseRTPPayload * payload, GstBuffer * buffer);
static gboolean gst_replace_handle_event (GstPad * pad, GstEvent * event);
static GstCaps *gst_replace_get_caps (GstBaseRTPPayload * payload,
GstPad * pad);
% declare-class
GstBaseRTPPayload *base_rtppayload_class = GST_BASE_RTPPAYLOAD (klass);
% set-methods
base_rtppayload_class-> = GST_DEBUG_FUNCPTR (gst_replace_);
% methods
static gboolean
gst_replace_set_caps (GstBaseRTPPayload * payload, GstCaps * caps)
{
}
static GstFlowReturn
gst_replace_handle_buffer (GstBaseRTPPayload * payload, GstBuffer * buffer)
{
}
static gboolean
gst_replace_handle_event (GstPad * pad, GstEvent * event)
{
}
static GstCaps *
gst_replace_get_caps (GstBaseRTPPayload * payload, GstPad * pad)
{
}
% end