Meta Question

Tim Müller tim at centricular.com
Thu Sep 22 21:27:26 UTC 2016


On Thu, 2016-09-22 at 13:49 -0700, ht techdev wrote:

Hi,

> Is it possible to retrieve all Meta(s) associated with a buffer, say
> by a call to gst_buffer_get_meta, and copy them over to another
> buffer, or one has to extract and insert Meta(s) one by one?

gst_buffer_copy_into (new, old, GST_BUFFER_COPY_METADATA, 0, -1);

might do the trick.

Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com

Join us at the GStreamer Conference!
10-11 October 2016 in Berlin,
Germany
http://gstreamer.freedesktop.org/conference/



More information about the gstreamer-devel mailing list