projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d7b3ff8
)
gdp: add docs for GstDPPacketizer
author
Stefan Kost
<ensonic@users.sf.net>
Mon, 2 May 2011 13:00:52 +0000
(16:00 +0300)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Sun, 25 Dec 2011 22:49:59 +0000
(22:49 +0000)
gst/gdp/dataprotocol.h
patch
|
blob
|
history
diff --git
a/gst/gdp/dataprotocol.h
b/gst/gdp/dataprotocol.h
index
62c30bd
..
efd524a
100644
(file)
--- 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);
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;