gst_structure_get_float missing?

Martin Kelly martin at surround.io
Fri Mar 4 20:36:53 UTC 2016


On 03/04/2016 12:17 PM, Nicolas Dufresne wrote:
> Le vendredi 04 mars 2016 à 11:55 -0800, Martin Kelly a écrit :
>
> 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.
>

Got it, thanks. In my case, I'm interfacing with an existing API that 
returns a float, so the method would be convenient. However, I can also 
store the float as a double instead. It wastes a bit of space but is 
otherwise OK.

If I get the time, I'll add the float method. It's not a huge deal, but 
having the method would be nice.

Thanks,
Martin


More information about the gstreamer-devel mailing list