summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2011-05-02 16:00:52 +0300
committerTim-Philipp Müller <tim@centricular.net>2012-09-11 01:54:41 +0100
commit536f51cf98241b4c6817232825fff1583db246f8 (patch)
treee554923479b3de26c3c694c60f7a86ea95f5a772
parent7ec4633cef8e5ae0b3fd73f40dc5c0939ca4eb91 (diff)
gdp: add docs for GstDPPacketizer
-rw-r--r--gst/gdp/dataprotocol.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gst/gdp/dataprotocol.h b/gst/gdp/dataprotocol.h
index b04faad2d..bed1ade60 100644
--- a/gst/gdp/dataprotocol.h
+++ b/gst/gdp/dataprotocol.h
@@ -111,6 +111,16 @@ typedef gboolean (*GstDPPacketFromEventFunction) (const GstEvent * event,
guint * length,
guint8 ** header,
guint8 ** payload);
+
+/**
+ * GstDPPacketizer:
+ * @version: the #GstDPVersion of the protocol to be used
+ * @header_from_buffer: buffer serializer function
+ * @packet_from_caps: caps serializer function
+ * @packet_from_event: event serializer function
+ *
+ * Data protocol packetizer handle.
+ */
typedef struct {
GstDPVersion version;