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

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Dec 9 11:30:15 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


Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #77947|none                        |committed
               Flag|                            |
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




------- Comment #7 from Tim-Philipp Müller  2006-12-09 19:28 UTC -------
You're right, I misremembered what g_strtod() does, I thought it parsed either
version:

  2006-12-09  Tim-Philipp Müller  <tim at centricular dot net>

        Patch by: Sebastian Dröge  <mail at slomosnail de>

        * gst/apetag/gstapedemux.c: (ape_demux_parse_tags):
          We need to be able to read and parse any possible floating point
string
          format ("1,234" or "1.234") irrespective of the current locale.
g_strod()
          will parse the former only in certain locales though, so we really
need
          to canonicalise the separator to '.' and then use g_ascii_strtod() to
          make sure we can parse either version at all times.
          Fixes #382982 for real.


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




More information about the Gstreamer-bugs mailing list