GNOME Bugzilla – Bug 506715
[PATCH] [flacdec] PICTURE blocks should be retrieved as metadata
Last modified: 2008-01-12 03:12:22 UTC
If a FLAC file has one or more PICTURE blocks, they should be emitted as metadata messages.
Created attachment 101947 [details] [review] Emit metadata messages when a PICTURE block is encountered
Patch by: John Millikin <jmillikin at gmail dot com> * ext/flac/gstflacdec.c: (gst_flac_dec_setup_seekable_decoder), (gst_flac_dec_setup_stream_decoder), (gst_flac_normalize_picture_mime_type), (gst_flac_extract_picture_buffer), (gst_flac_dec_metadata_callback): Emit metadata messages when a PICTURE block is encountered. Fixes #506715.
Any chance of a test file?
Wouldn't it make more sense to add a function to libgsttag than to just copy'n'paste this code from id3v2frames.c into flacdec?
What would such a function provide exactly?
Created attachment 102640 [details] Test case > Any chance of a test file? Attached. Archive contains PNG format cover and FLAC file with embedded cover. To create your own with other image formats or options, use the "metaflac" utility.