diff -r 71e347f905f2 -r 4a7fac7dd34a gst_plugins_base/gst/tcp/gsttcp.h --- a/gst_plugins_base/gst/tcp/gsttcp.h Fri Mar 19 09:35:09 2010 +0200 +++ b/gst_plugins_base/gst/tcp/gsttcp.h Fri Apr 16 15:15:52 2010 +0300 @@ -34,6 +34,20 @@ G_BEGIN_DECLS +/** + * GstTCPProtocol: + * @GST_TCP_PROTOCOL_NONE: Raw data transmission + * @GST_TCP_PROTOCOL_GDP: #GstBuffers are wrapped and sent/received using the + * GDP protocol. + * + * This enum is provided by the tcp/multifd elements to configure the format of + * data transmission/reception. + * + * The GDP protocol wraps data buffers in a header that also carries format + * information and timestamps. The None value indicates the data is + * sent/received as-is. In that case, format information and timestamping + * must be transmitted separately, or implicit in the bytestream itself. + */ typedef enum { GST_TCP_PROTOCOL_NONE,