gdp: add docs for GstDPPacketizer
authorStefan Kost <ensonic@users.sf.net>
Mon, 2 May 2011 13:00:52 +0000 (16:00 +0300)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 25 Dec 2011 22:49:59 +0000 (22:49 +0000)
gst/gdp/dataprotocol.h

index 62c30bd..efd524a 100644 (file)
@@ -111,6 +111,16 @@ typedef gboolean (*GstDPPacketFromEventFunction) (const GstEvent * event,
                                                guint * length,
                                                guint8 ** header,
                                                guint8 ** payload);
                                                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;
 
 typedef struct {
   GstDPVersion version;