GstBuffer Data-passing buffer type, supporting sub-buffers and metadata Buffers are the basic unit of data transfer in GST. The GstBuffer type provides all the state necessary to define a region of memory as part of a stream. Sub-buffer are also supported, allowing a smaller region of a buffer to become its own buffer, with mechanisms in place to ensure that nither memory space goes away. Metadata is supported as a list of pointers to arbitrary metadata. Get the flags from this buffer. @buf: GstBuffer to retrieve the flags from Gives the status of a given flag. @buf: GstBuffer to query @flag: the flag to check Set a flag in a buffer. @buf: GstBuffer to query @flag: the flag to set Clear a flag in a buffer. @buf: GstBuffer to modify @flag: the flag to clear Retrieves the type id of the data in the buffer. @buf: GstBuffer Retrieves a pointer to the data element of this buffer @buf: GstBuffer Get the size of the data in this buffer. @buf: GstBuffer Get the offset in the source file of this buffer. @buf: GstBuffer @buf: GstBuffer Get the timestamp for this buffer. @buf: GstBuffer This macro will obtain a lock on the object, making serialization possible. @buf: GstBuffer to lock This macro will try to obtain a lock on the object, but will return with FALSE if it can't get it immediately. @buf: GstBuffer to try to lock This macro releases a lock on the object. @buf: GstBuffer to unlock. FIXME this is strange. GST_BUFFER_READONLY the buffer is read only GST_BUFFER_EOS this buffer is the last one in the stream GST_BUFFER_ORIGINAL this buffer not a copy GST_BUFFER_DONTFREE do not try to free the data when this buffer is unref-ed GST_BUFFER_FLUSH this buffer is not related to previous buffers. This flag is mainly used when data in a stream has been skipped @GST_BUFFER_READONLY: the buffer is read only @GST_BUFFER_ORIGINAL: this buffer not a copy @GST_BUFFER_DONTFREE: do not try to free the data when this buffer is unref-ed @GST_BUFFER_FLUSH: this buffer is not related to previous buffers. This flag is mainly used when data in a stream has been skipped @GST_BUFFER_EOS: this buffer is the last one in the stream @GST_BUFFER_DISCONTINUOUS: @lock: @flags: @data: @size: @maxsize: @offset: @timestamp: @maxage: @metas: @parent: @pool: @Returns: @pool: @Returns: @parent: @offset: @size: @Returns: @buffer: @append: @Returns: @buffer: @buffer: @count: @buffer: @buffer: @buffer: @meta: @buffer: @Returns: @buffer: @Returns: @buffer: @meta: