Load attached picture

Sander Jansen s.jansen at gmail.com
Wed May 21 17:06:39 CEST 2008


Does the flac reader in TagLib support the METADATA_BLOCK_PICTURE?

Thanks,
Sander

On Wed, May 21, 2008 at 7:04 AM, Scott Wheeler <wheeler at kde.org> wrote:
> Daniel Önnerby wrote:
>>
>>         TagLib::ID3v2::AttachedPictureFrame *picture =
>> static_cast<TagLib::ID3v2::AttachedPictureFrame*>(pictures.front());
>
> Just a really quick note here -- per the last commit that I CC'ed to the
> list, that should be a dynamic_cast.  In the (rare) case of an encrypted
> frame it will add the frame to the list, but as an UnknownFrame type
> rather than the parsed type.  (Since encrypted frames aren't supported.)
>
> -Scott
>
> _______________________________________________
> taglib-devel mailing list
> taglib-devel at kde.org
> https://mail.kde.org/mailman/listinfo/taglib-devel
>


More information about the taglib-devel mailing list