gst_structure_get_float ?
Tim-Philipp Müller
t.i.m at zen.co.uk
Tue Jan 31 05:55:48 PST 2012
On Tue, 2012-01-31 at 05:35 -0800, gwunder wrote:
> Does gst_structure_get_float exist?
> I'm trying to push an event across that contains G_TYPE_FLOAT objects.
> What structure method can I use to retrieve?
You can use the GValue API: gst_structure_get_value() +
g_value_get_float().
But it might be easier to put doubles into the structure/caps instead
and use gst_structure_get_double().
Cheers
-Tim
More information about the gstreamer-devel
mailing list