[Bug 661634] [0.11] no way to store buffer metadata in tag lists

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Dec 1 10:05:13 PST 2011


https://bugzilla.gnome.org/show_bug.cgi?id=661634
  GStreamer | gstreamer (core) | git

Wim Taymans <wim.taymans> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Wim Taymans <wim.taymans at gmail.com> 2011-12-01 18:05:12 UTC ---
I really wanted to avoid putting the caps on buffers because then you could
have them being passed in the dataflow with conflicting caps (caps in event !=
caps on buffer etc). It would also not solve the problem of also retrieving the
timing info (useful for appsink) (again putting that in metadata feels wrong).

The current implementation uses a small GstSample minobject that wraps a
GstBuffer, GstCaps, GstSegment and arbitrary other info in a GstStructure. This
structure can be passes around between elements and app and can be put in
taglists and returned from appsink etc. 

It's a bit of a struggle between having a small selfcontained object vs having
the flexibility of multiple objects. I think this GstSample makes sense as an
object that aggregates state and data.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list