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>
Mon, 24 Nov 2014 10:02:33 +0000 (10:02 +0000)
commit1a613c5d4e05ffbf00e301926834e9c978cc6391
treed25524ccc17f00fbca50ecda5788f51dd9119356
parent59085936b820e02734097c17d6dfeb2387f22d9f
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