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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
/* vim: set filetype=c: */
% ClassName
GstTagDemux
% TYPE_CLASS_NAME
GST_TYPE_TAG_DEMUX
% pads
sinkpad-simple srcpad-simple
% 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
GstTagDemuxClass *tagdemux_class = GST_TAG_DEMUX_CLASS (klass);
% set-methods
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);
% methods
static gboolean
gst_replace_identify_tag (GstTagDemux * demux,
GstBuffer * buffer, gboolean start_tag, guint * tag_size)
{
return FALSE;
}
static GstTagDemuxResult
gst_replace_parse_tag (GstTagDemux * demux,
GstBuffer * buffer,
gboolean start_tag, guint * tag_size, GstTagList ** tags)
{
return GST_TAG_DEMUX_RESULT_BROKEN_TAG;
}
static GstTagList *
gst_replace_merge_tags (GstTagDemux * demux,
const GstTagList * start_tags, const GstTagList * end_tags)
{
return NULL;
}
% end
|