[gstreamer-bugs] [Bug 512333] [gstvorbistag] Retrieve Ogg/Vorbis cover art as image metadata

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Jan 26 21:56:49 PST 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=512333

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




------- Comment #1 from John Millikin  2008-01-27 05:56 UTC -------
Created an attachment (id=103801)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=103801&action=view)
Extract Ogg/Vorbis cover art metadata

Define two new libgst utility functions, gst_normalize_image_mime_type and
gst_add_image_tag. Both functions are based on code found in the ID3 and FLAC
demuxers[1]. gst_normalize_image_mime_type is used to convert from the various
formats found to the standard "image/*" form. gst_add_image_tag accepts as
parameters the raw MIME-type, image data, and image type. It constructs a
GstBuffer and adds it to a GstTagList.

Also define a function gst_vorbis_extract_cover_art, which will be called after
all tags have been read from a Vorbis comment buffer. If the buffer contained
COVERART comments, the last such comment will be used to construct the image
tag buffer.

[1] A second patch shall be attached, to refactor the ID3 and FLAC demuxers to
use the new utility functions.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=512333.




More information about the Gstreamer-bugs mailing list