mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
bufferpool: improve docs
This commit is contained in:
parent
416a4a252c
commit
1a8a371bce
1 changed files with 3 additions and 1 deletions
|
@ -138,7 +138,9 @@ struct _GstBufferPool {
|
|||
* be released when there are no buffers available.
|
||||
* @alloc_buffer: allocate a buffer. the default implementation allocates
|
||||
* buffers from the default memory allocator and with the configured
|
||||
* size, prefix and alignment.
|
||||
* size, prefix and alignment. All metadata that is present on the
|
||||
* allocated buffer will be marked as #GST_META_FLAG_POOLED and will not
|
||||
* be removed from the buffer in @reset_buffer.
|
||||
* @reset_buffer: reset the buffer to its state when it was freshly allocated.
|
||||
* The default implementation will clear the flags, timestamps and
|
||||
* will remove the metadata added after alloc_buffer.
|
||||
|
|
Loading…
Reference in a new issue