From 59670baf8ece1b2e3218a06b97aa1fe82871ad23 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Mon, 2 May 2011 16:00:52 +0300 Subject: [PATCH] docs: add docs for GstDPPacketizer --- libs/gst/dataprotocol/dataprotocol.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/libs/gst/dataprotocol/dataprotocol.h b/libs/gst/dataprotocol/dataprotocol.h index 118df65..150b5cc 100644 --- a/libs/gst/dataprotocol/dataprotocol.h +++ b/libs/gst/dataprotocol/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; -- 2.7.4