[gst-devel] GstBuffer and metadata

Ronald S. Bultje rbultje at ronald.bitfreak.net
Mon Sep 20 06:08:05 CEST 2004


Hi Luca,

On Fri, 2004-09-17 at 10:25, sKaBoy (LucaOgnibene) wrote:
> I don't know how to solve a problem with current gst API.. How can i associate a
> Buffer with metadata ?
> Example:
> I have a pipeline like : multifilesrc ! myjpegparser ! myjpegdec ! somefilter !
> databasesink
> 
> How can i pass the comment of the jpeg (or other frames related infos) from
> myjpegdec to databasesink? Should i do my own GstBuffer ? 

No, as tags. Tags are forwarded in a pipeline as an event. The
documentation (e.g. the plugin writer's guide) explains this in detail.

Ronald

-- 
Ronald S. Bultje <rbultje at ronald.bitfreak.net>





More information about the gstreamer-devel mailing list