[gstreamer-bugs] [Bug 341281] [id3demux] 'genre' is not valid UTF-8

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed May 10 10:15:26 PDT 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=341281
 GStreamer | gst-plugins-good | Ver: 0.10.5


Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|gstreamer (core)            |gst-plugins-good
         Resolution|                            |DUPLICATE
            Summary|'genre' is not valid UTF-8  |[id3demux] 'genre' is not
                   |                            |valid UTF-8
   Target Milestone|HEAD                        |0.10.4




------- Comment #2 from Tim-Philipp Müller  2006-05-10 17:15 UTC -------
This bug is caused by the same issue as bug #340979 - the first and last byte
(character) of the string were inadvertantly stripped off. In this case this
first byte is probably 'half' a UTF-8 character, so that leaves the string to
be invalid. Should have been fixed by this commit as well:

  2006-05-10  Jan Schmidt  <thaytan at mad.scientist.com>

        * gst/id3demux/id3v2frames.c: (id3v2_genre_fields_to_taglist):
          Fix parsing of numeric genre strings some more, by ensuring that
          we only try and parse strings that a) Start with '(' and b) Consist
          only of digits.
          Also, when finding an escaping '((' sequence, bust it back to '(' by
          swallowing the first parenthesis

(the content is probably not exactly what's expected, but that's the way it was
encoded)

*** This bug has been marked as a duplicate of 340979 ***


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list