Simple GValue and GstStructure Question

Tim-Philipp Müller t.i.m at zen.co.uk
Tue Feb 19 15:24:33 PST 2013


On Tue, 2013-02-19 at 23:17 +0000, Tim-Philipp Müller wrote:

PS:
you usually only need to use GValues when constructing lists or arrays
of things or processing values generically.

The code you posted could just be written as:

 gst_structure_set (structure, "field-foo", G_TYPE_INT, 1234, NULL);

Cheers
 -Tim



More information about the gstreamer-devel mailing list