How to add custom data on buffer

Carlos Rafael Giani dv at pseudoterminal.org
Tue Mar 18 08:20:59 PDT 2014


Hi,

look up GstMeta. You can attach metadata blocks to GstBuffers.

> Hi I'm trying to pass buffers (frames) with custom data through pipeline with
> some decoders encoders etc.. , but I can't figure out, how to do it.
>
> I had an idea to store information outside of pipeline and attach it to each
> buffer on the basis of its own offest number (which I was set after buffer
> creation). But that buffer on sink element came with deleted value, same
> like GST_CLOCK_TIME_NONE and other constants...
>
> Any ideas?
> Thank you
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-add-custom-data-on-buffer-tp4666004.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list