gst_structure_get_float missing?

Nicolas Dufresne nicolas.dufresne at gmail.com
Fri Mar 4 20:17:38 UTC 2016


Le vendredi 04 mars 2016 à 11:55 -0800, Martin Kelly a écrit :
> Hi,
> 
> While looking at the GstStructure API, I noticed that 
> gst_structure_get_float is missing, although most other GLib types
> are 
> present. It appears this has come up once before on the mailing
> list, 
> and a workaround was suggested [1]. However, I'm wondering if the 
> omission is intentional or merely an accident. If it is the latter,
>> may submit a patch to add this function.

Those are helpers around gst_structure_get_value(). So far, only double
were needed, if you need float, you may add them. Be extra careful as
vararg only supports double iirc. There is very little use for float to
be honest.

Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160304/424d6a9f/attachment.sig>


More information about the gstreamer-devel mailing list