[gstreamer-bugs] [Bug 382982] [apedemux] Fails to read track gain or other doubles

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Dec 7 22:57:50 PST 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=382982

  GStreamer | gst-plugins-good | Ver: HEAD CVS





------- Comment #6 from Sebastian Dröge  2006-12-08 06:56 UTC -------
Created an attachment (id=77947)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=77947&action=view)
apedemux.diff

Well, it would probably better to use g_ascii_strtod() but replace all
occurences of ',' with '.' before. g_strtod() would only parse ',' correctly if
the current locale is one with ',' as decimal point.

Attached is a patch that does this instead. Maybe we want other chars than ','
replaced but AFAIK the only chars used as decimal point are '.' and ','.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list