gl: shadervariables: make parsing of floats locale-independent
authorTim-Philipp Müller <tim@centricular.com>
Sun, 23 Nov 2014 21:43:20 +0000 (21:43 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:50 +0000 (19:31 +0000)
commit13706c2c05d9ac680983a440909c8fc0fdfa406e
treeb9664079cc7cac1d3f0a4204ba01f90d9fe581ff
parent97607a0d5032363206bbd56e5e256bedc6e02483
gl: shadervariables: make parsing of floats locale-independent

Floating point numbers are written differently in different
locales, e.g. in many countries 1/2 = 0,5 instead of 0.5, and
strtod will not be able to parse "0.5" correctly in such a
locale.
gst-libs/gst/gl/gstglshadervariables.c