[Bug 741144] New: id3demux cannot extract the tag info in UTF-16 character format
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Dec 4 23:52:49 PST 2014
https://bugzilla.gnome.org/show_bug.cgi?id=741144
GStreamer | gst-plugins-base | 1.2.3
Summary: id3demux cannot extract the tag info in UTF-16
character format
Classification: Platform
Product: GStreamer
Version: 1.2.3
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: lyon.wang at freescale.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=292169)
--> (https://bugzilla.gnome.org/attachment.cgi?id=292169)
patch to fix the issue that id3 tags utf16 charaters cannot be extreacted
in id3demux when I tried to get the id3v2 tag such as TIT2, TALB etc. it will
return extract failed.
Checked in id3v2frame.c, When parse the UTF-16 streams, it used g_convert()to
convert the buffer from UTF-16 to UTF-8, however it will return err that this
conversion is not supported which cause the extraction failed with these UTF-16
characters.
In the patch, use g_utf16_to_utf8() instead of g_convert, which can convert the
character format successfully.
This issue was found on my gst-plugins-base-1.2.3 environment, however i see it
is the same at the latest code.
--
Configure bugmail: https://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