mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 10:40:34 +00:00
white space fixes
Original commit message from CVS: white space fixes
This commit is contained in:
parent
8c7cf901bd
commit
1ffd2bc0ce
2 changed files with 8 additions and 8 deletions
|
@ -160,7 +160,7 @@ gst_buffer_init (GTypeInstance * instance, gpointer g_class)
|
|||
* Creates a newly allocated buffer without any data.
|
||||
*
|
||||
* Returns: the new #GstBuffer.
|
||||
*
|
||||
*
|
||||
* MT safe.
|
||||
*/
|
||||
GstBuffer *
|
||||
|
@ -182,7 +182,7 @@ gst_buffer_new (void)
|
|||
* Creates a newly allocated buffer with data of the given size.
|
||||
*
|
||||
* Returns: the new #GstBuffer.
|
||||
*
|
||||
*
|
||||
* MT safe.
|
||||
*/
|
||||
GstBuffer *
|
||||
|
@ -209,7 +209,7 @@ gst_buffer_new_and_alloc (guint size)
|
|||
* 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
|
||||
|
@ -234,7 +234,7 @@ gst_buffer_get_caps (GstBuffer * buffer)
|
|||
* 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. */
|
||||
|
@ -394,9 +394,9 @@ gst_buffer_create_sub (GstBuffer * buffer, guint offset, guint size)
|
|||
* 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
|
||||
|
|
|
@ -70,7 +70,7 @@ typedef struct _GstBufferClass GstBufferClass;
|
|||
* 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.
|
||||
|
@ -147,7 +147,7 @@ G_STMT_START { \
|
|||
#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);
|
||||
|
|
Loading…
Reference in a new issue