Changed strtod() -> g_ascii_strtod(), since strtod() is locale dependent.
[platform/upstream/gstreamer.git] / gst / gstprops.c
index f1f793e..879845b 100644 (file)
@@ -357,7 +357,7 @@ gst_props_entry_from_string_no_name (gchar *s, gchar **after, gboolean has_type)
   }
   if (type == GST_PROPS_INVALID_TYPE || type == GST_PROPS_FLOAT_TYPE) {
     gdouble d;
-    d = strtod (check, &end);
+    d = g_ascii_strtod (check, &end);
     while (g_ascii_isspace (*end)) end++;
     if (*end == '\0' || *end == ',' || *end == ';' || *end == ')' || *end == ']') {
       *after = end;