* Creates a newly allocated buffer without any data.
*
* Returns: the new #GstBuffer.
- *
+ *
* MT safe.
*/
GstBuffer *
* Creates a newly allocated buffer with data of the given size.
*
* Returns: the new #GstBuffer.
- *
+ *
* MT safe.
*/
GstBuffer *
* type is the same as the previous received buffer.
*
* This function does not increment the refcount of the caps. The
- * caps pointer will therefore remain valid until the buffer is
+ * caps pointer will therefore remain valid until the buffer is
* unreffed.
*
* Returns: the #GstCaps, or NULL if there was an error or there
* be increased and any previous caps on the buffer will be
* unreffed.
*/
-/* FIXME can we make this threadsafe without a lock on the buffer?
+/* FIXME can we make this threadsafe without a lock on the buffer?
* We can use compare and swap and atomic reads. Another idea is to
* not attach the caps to the buffer but use an event to signal a caps
* change. */
* Determines whether a gst_buffer_span() can be done without copying
* the contents, that is, whether the data areas are contiguous.
*
- * Returns: TRUE if the buffers are contiguous,
+ * Returns: TRUE if the buffers are contiguous,
* FALSE if a copy would be required.
- *
+ *
* MT safe.
*/
gboolean
* GstBufferFlag:
* @GST_BUFFER_FLAG_READONLY: the buffer is read-only.
* @GST_BUFFER_FLAG_ORIGINAL: buffer is not a copy of another buffer.
- * @GST_BUFFER_FLAG_PREROLL: the buffer is part of a preroll and should not be
+ * @GST_BUFFER_FLAG_PREROLL: the buffer is part of a preroll and should not be
* displayed.
* @GST_BUFFER_FLAG_DISCONT: the buffer marks a discontinuity in the stream.
* @GST_BUFFER_FLAG_IN_CAPS: the buffer has been added as a field in a #GstCaps.
#define gst_buffer_is_writable(buf) gst_mini_object_is_writable (GST_MINI_OBJECT (buf))
#define gst_buffer_make_writable(buf) GST_BUFFER (gst_mini_object_make_writable (GST_MINI_OBJECT (buf)))
-#define gst_buffer_replace(obuf,nbuf) gst_mini_object_replace ((GstMiniObject **)(obuf), GST_MINI_OBJECT (nbuf))
+#define gst_buffer_replace(obuf,nbuf) gst_mini_object_replace ((GstMiniObject **)(obuf), GST_MINI_OBJECT (nbuf))
GstCaps* gst_buffer_get_caps (GstBuffer *buffer);
void gst_buffer_set_caps (GstBuffer *buffer, GstCaps *caps);