Import line: | Gst = imports.gi.Gst; |
GIR File: | Gst-0.10.gir |
C documentation: | GstBufferListIterator |
Struct : | BufferListIterator |
Show / Hide Inherited methods, properties and signals |
None |
Method / Constructor | Defined By | |
---|---|---|
add
(Buffer buffer)
:
none
Inserts buffer into the GstBufferList iterated with it.
Inserts buffer into the GstBufferList iterated with it. The buffer is inserted into the current group, immediately before the buffer that would be returned by gst_buffer_list_iterator_next(). The buffer is inserted before the implicit cursor, a subsequent call to gst_buffer_list_iterator_next() will return the buffer after the inserted buffer, if any. This function takes ownership of buffer.
|
Gst.BufferListIterator | |
add_group
()
:
none
Inserts a new, empty group into the GstBufferList iterated with it.
Inserts a new, empty group into the GstBufferList iterated with it. The group is inserted immediately before the group that would be returned by gst_buffer_list_iterator_next_group(). A subsequent call to gst_buffer_list_iterator_next_group() will advance the iterator to the group after the inserted group, if any.
|
Gst.BufferListIterator | |
Calls the given function for the last buffer returned by gst_buffer_list_iterator_next().
Calls the given function for the last buffer returned by gst_buffer_list_iterator_next(). gst_buffer_list_iterator_next() must have been called on it before this function is called. gst_buffer_list_iterator_remove() and gst_buffer_list_iterator_steal() must not have been called since the last call to gst_buffer_list_iterator_next(). See GstBufferListDoFunction for more details.
|
Gst.BufferListIterator | |
free
()
:
none
Free the iterator.
Free the iterator.
|
Gst.BufferListIterator | |
merge_group
()
:
Gst.Buffer
Merge a buffer list group into a normal GstBuffer by copying its metadata and memcpying its data into consecutive memory.
Merge a buffer list group into a normal GstBuffer by copying its metadata and memcpying its data into consecutive memory. All buffers in the current group after the implicit cursor will be merged into one new buffer. The metadata of the new buffer will be a copy of the metadata of the buffer that would be returned by gst_buffer_list_iterator_next(). If there is no buffer in the current group after the implicit cursor, NULL will be returned. This function will not move the implicit cursor or in any other way affect the state of the iterator it or the list.
|
Gst.BufferListIterator | |
n_buffers
()
:
Number
Returns the number of buffers left to iterate in the current group.
Returns the number of buffers left to iterate in the current group. I.e. the number of calls that can be made to gst_buffer_list_iterator_next() before it returns NULL. This function will not move the implicit cursor or in any other way affect the state of the iterator it.
|
Gst.BufferListIterator | |
next
()
:
Gst.Buffer
Returns the next buffer in the list iterated with it.
Returns the next buffer in the list iterated with it. If the iterator is at the end of a group, NULL will be returned. This function may be called repeatedly to iterate through the current group. The caller will not get a new ref to the returned GstBuffer and must not unref it.
|
Gst.BufferListIterator | |
next_group
()
:
Boolean
Advance the iterator it to the first buffer in the next group.
Advance the iterator it to the first buffer in the next group. If the iterator is at the last group, FALSE will be returned. This function may be called repeatedly to iterate through the groups in a buffer list. the iterator was already at the last group
|
Gst.BufferListIterator | |
remove
()
:
none
Removes the last buffer returned by gst_buffer_list_iterator_next() from the GstBufferList iterated with it.
Removes the last buffer returned by gst_buffer_list_iterator_next() from the GstBufferList iterated with it. gst_buffer_list_iterator_next() must have been called on it before this function is called. This function can only be called once per call to gst_buffer_list_iterator_next(). The removed buffer is unreffed.
|
Gst.BufferListIterator | |
steal
()
:
Gst.Buffer
Returns the last buffer returned by gst_buffer_list_iterator_next() without modifying the refcount of the buffer.
Returns the last buffer returned by gst_buffer_list_iterator_next() without modifying the refcount of the buffer.
|
Gst.BufferListIterator | |
take
(Buffer buffer)
:
none
Replaces the last buffer returned by gst_buffer_list_iterator_next() with this function is called.
Replaces the last buffer returned by gst_buffer_list_iterator_next() with this function is called. gst_buffer_list_iterator_remove() must not have been called since the last call to gst_buffer_list_iterator_next(). This function unrefs the replaced buffer if it has not been stolen with gst_buffer_list_iterator_steal() and takes ownership of buffer (i.e. the refcount of buffer is not increased).
|
Gst.BufferListIterator |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gst.BufferList
Method |
iterate
()
:
Gst.BufferListIterator
Iterate the buffers in list.
|