[gst-devel] sending extra data along with buffers

Stefan Kost ensonic at hora-obscura.de
Mon Jan 14 11:38:29 CET 2008


another alternative - a tag-event. it has flag serialized. I need to  
check if the sink gets the event before it gets the buffer, when the  
source send the
event before it pushes the buffer. That is if the source sends e1, b1,  
e2, b2, ... the sink gets it in exactly the same order.


> hi,
> I am looking for a way to send some private data along with a buffer.
> During data capture I get some metadata about capture settings and I
> would like to store/analyze them later along with the data stream. I
> tried to add a payload item to caps and put a GstBuffer there. But
> this seems to be painful and I am afraid that it will cause
> renegotiation as the content changes for each buffer. Has anyone been
> doing something similar?
> alternative (better approach) seems to be using a buffer subclass, right?
> Attached is my current test. Its a bit hackish and fails. One thing I
> was wondering is that fakesrc send buffer with caps=NULL. A bug?
> Stefan

More information about the gstreamer-devel mailing list