docs: update design docs
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 1 Oct 2012 14:46:03 +0000 (16:46 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 1 Oct 2012 14:46:03 +0000 (16:46 +0200)
docs/design/part-buffer.txt
docs/design/part-bufferpool.txt
docs/design/part-meta.txt

index 2565ab7..6df980d 100644 (file)
@@ -29,7 +29,7 @@ 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
 
-The individual memory blocks have their own refcounting and READONLY flags
+The individual memory blocks have their own locking and READONLY flags
 that might influence their writability.
 
 Buffers can be made writable with gst_buffer_make_writable(). This will copy the
index d337421..46b1a34 100644 (file)
@@ -132,11 +132,19 @@ Allocation query
 
       It is also possible to configure the allocator in a provided pool.
 
-  (out) "metadata", G_TYPE_ARRAY of GType
-        - an array of metadata API types that can be accepted.
+  (out) "metadata", G_TYPE_ARRAY of structure
+        - an array of metadata params that can be accepted.
+
+      struct {
+        GType api;
+        GstStructure *params;
+      }
+
+      Use gst_query_parse_nth_allocation_meta() to get the values.
 
       These metadata items can be accepted by the downstream element when
-      placed on buffers. 
+      placed on buffers. There is also an arbitrary GstStructure associated
+      with the metadata that contains metadata specific options.
 
       Some bufferpools have options to enable metadata on the buffers
       allocated by the pool.
index 0d59fb0..55a1ffd 100644 (file)
@@ -9,8 +9,6 @@ negotiated in the bufferpools.
 
 Some examples of metadata:
 
- - timestamp, duration
- - offset, offset_end
  - interlacing information
  - video alignment, cropping, panning information
  - extra container information such as granulepos, ...