From 38d144fcb3c956f61e9e4a6c6ef4f63583e0afc0 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Mon, 8 May 2006 15:53:12 +0000 Subject: [PATCH] whitespace, comment, doc fixup Original commit message from CVS: whitespace, comment, doc fixup --- gst/gstelement.c | 4 ++-- gst/gstutils.c | 2 +- libs/gst/dataprotocol/dataprotocol.c | 2 +- libs/gst/dataprotocol/dataprotocol.h | 8 ++++---- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gst/gstelement.c b/gst/gstelement.c index f69267a..0d037fb 100644 --- a/gst/gstelement.c +++ b/gst/gstelement.c @@ -2643,8 +2643,8 @@ gst_element_set_bus_func (GstElement * element, GstBus * bus) * @element: a #GstElement to set the bus of. * @bus: the #GstBus to set. * - * Sets the bus of the element. For internal use only, unless you're - * testing elements. + * Sets the bus of the element. Increases the refcount on the bus. + * For internal use only, unless you're testing elements. * * MT safe. */ diff --git a/gst/gstutils.c b/gst/gstutils.c index 1a62f7b..1a10fbf 100644 --- a/gst/gstutils.c +++ b/gst/gstutils.c @@ -2321,7 +2321,7 @@ gst_buffer_join (GstBuffer * buf1, GstBuffer * buf2) * @dest: buffer to stamp * @src: buffer to stamp from * - * Copies additional information (the timestamp, duration, and offset start + * Copies additional information (the timestamp, duration, and offset start * and end) from one buffer to the other. * * This function does not copy any buffer flags or caps. diff --git a/libs/gst/dataprotocol/dataprotocol.c b/libs/gst/dataprotocol/dataprotocol.c index 3ebcfa2..a6d5817 100644 --- a/libs/gst/dataprotocol/dataprotocol.c +++ b/libs/gst/dataprotocol/dataprotocol.c @@ -549,7 +549,7 @@ gst_dp_validate_header (guint header_length, const guint8 * header) if (!(GST_DP_HEADER_FLAGS (header) & GST_DP_HEADER_FLAG_CRC_HEADER)) return TRUE; crc_read = GST_DP_HEADER_CRC_HEADER (header); - /* don't included the last two crc fields for the crc check */ + /* don't include the last two crc fields for the crc check */ crc_calculated = gst_dp_crc (header, header_length - 4); if (crc_read != crc_calculated) { GST_WARNING ("header crc mismatch: read %02x, calculated %02x", crc_read, diff --git a/libs/gst/dataprotocol/dataprotocol.h b/libs/gst/dataprotocol/dataprotocol.h index 912d2c4..0f60248 100644 --- a/libs/gst/dataprotocol/dataprotocol.h +++ b/libs/gst/dataprotocol/dataprotocol.h @@ -31,23 +31,23 @@ G_BEGIN_DECLS /** * GST_DP_VERSION_MAJOR: - * + * * The major version number of the GStreamer Data Protocol. */ #define GST_DP_VERSION_MAJOR 0 /** * GST_DP_VERSION_MINOR: - * + * * The minor version number of the GStreamer Data Protocol. */ #define GST_DP_VERSION_MINOR 2 /** * GST_DP_HEADER_LENGTH: - * + * * The header size in bytes. */ -#define GST_DP_HEADER_LENGTH 62 +#define GST_DP_HEADER_LENGTH 62 /** * GstDPHeaderFlag: -- 2.7.4