2010-12-15 20:45:38 +00:00
|
|
|
/* vim: set filetype=c: */
|
2010-04-14 23:32:34 +00:00
|
|
|
% ClassName
|
|
|
|
GstTagDemux
|
|
|
|
% TYPE_CLASS_NAME
|
|
|
|
GST_TYPE_TAG_DEMUX
|
2010-12-15 03:03:09 +00:00
|
|
|
% pads
|
|
|
|
sinkpad-simple srcpad-simple
|
2010-04-14 23:32:34 +00:00
|
|
|
% pkg-config
|
|
|
|
gstreamer-tag-0.10
|
|
|
|
% includes
|
|
|
|
#include <gst/tag/gsttagdemux.h>
|
|
|
|
% prototypes
|
|
|
|
static gboolean
|
|
|
|
gst_replace_identify_tag (GstTagDemux * demux,
|
|
|
|
GstBuffer * buffer, gboolean start_tag, guint * tag_size);
|
|
|
|
static GstTagDemuxResult
|
|
|
|
gst_replace_parse_tag (GstTagDemux * demux,
|
|
|
|
GstBuffer * buffer,
|
|
|
|
gboolean start_tag, guint * tag_size, GstTagList ** tags);
|
|
|
|
static GstTagList *gst_replace_merge_tags (GstTagDemux * demux,
|
|
|
|
const GstTagList * start_tags, const GstTagList * end_tags);
|
|
|
|
% declare-class
|
2011-04-26 11:10:05 +00:00
|
|
|
GstTagDemuxClass *tagdemux_class = GST_TAG_DEMUX_CLASS (klass);
|
2010-04-14 23:32:34 +00:00
|
|
|
% set-methods
|
2011-04-26 11:10:05 +00:00
|
|
|
tagdemux_class->identify_tag = GST_DEBUG_FUNCPTR (gst_replace_identify_tag);
|
|
|
|
tagdemux_class->parse_tag = GST_DEBUG_FUNCPTR (gst_replace_parse_tag);
|
|
|
|
tagdemux_class->merge_tags = GST_DEBUG_FUNCPTR (gst_replace_merge_tags);
|
2010-04-14 23:32:34 +00:00
|
|
|
% methods
|
|
|
|
|
|
|
|
|
|
|
|
static gboolean
|
|
|
|
gst_replace_identify_tag (GstTagDemux * demux,
|
|
|
|
GstBuffer * buffer, gboolean start_tag, guint * tag_size)
|
|
|
|
{
|
|
|
|
|
2011-04-26 11:10:05 +00:00
|
|
|
return FALSE;
|
2010-04-14 23:32:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
static GstTagDemuxResult
|
|
|
|
gst_replace_parse_tag (GstTagDemux * demux,
|
|
|
|
GstBuffer * buffer,
|
|
|
|
gboolean start_tag, guint * tag_size, GstTagList ** tags)
|
|
|
|
{
|
|
|
|
|
2011-04-26 11:10:05 +00:00
|
|
|
return GST_TAG_DEMUX_RESULT_BROKEN_TAG;
|
2010-04-14 23:32:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
static GstTagList *
|
|
|
|
gst_replace_merge_tags (GstTagDemux * demux,
|
|
|
|
const GstTagList * start_tags, const GstTagList * end_tags)
|
|
|
|
{
|
|
|
|
|
2011-04-26 11:10:05 +00:00
|
|
|
return NULL;
|
2010-04-14 23:32:34 +00:00
|
|
|
}
|
|
|
|
% end
|