summaryrefslogtreecommitdiff
path: root/docs/design/part-buffer.txt
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-07-05 12:53:57 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2012-07-05 12:56:51 +0200
commit964ea9eccb66f4bee4d79f980859f00288931220 (patch)
tree5f62cff1151c2c59b52f1eb411a34e281cbae3e1 /docs/design/part-buffer.txt
parente2bbfd294d740dd362e1f43c643013dbfda173be (diff)
docs: update docs
Diffstat (limited to 'docs/design/part-buffer.txt')
-rw-r--r--docs/design/part-buffer.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/design/part-buffer.txt b/docs/design/part-buffer.txt
index 92582deb7a..2565ab7927 100644
--- a/docs/design/part-buffer.txt
+++ b/docs/design/part-buffer.txt
@@ -15,10 +15,16 @@ Requirements
- Must be able to attach artibtrary metadata to buffers
- efficient handling of subbuffer, copy, span, trim
+Lifecycle
+~~~~~~~~~
+
+GstMemory extends from GstMiniObject and therefore uses its lifecycle
+management (See part-miniobject.txt).
+
Writability
------------
+~~~~~~~~~~~
-The Buffers is writable when the refcount is 1. This means that:
+When a Buffers is writable as returned from gst_buffer_is_writable():
- metadata can be added/removed and the metadata can be changed
- GstMemory blocks can be added/removed