Thanks it works like charm :)<div>Please keep me in touch for related stuff about taglib :)<br><br><div class="gmail_quote">2009/10/20 Lukáš Lalinský <span dir="ltr"><<a href="mailto:lalinsky@gmail.com">lalinsky@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">On Tue, Oct 20, 2009 at 12:10 PM, Martin Obreshkov<br>
<div class="im"><<a href="mailto:martin.trashbox@gmail.com">martin.trashbox@gmail.com</a>> wrote:<br>
</div><div class="im">> Hi about your post<br>
>><br>
>> Thanks, that's great. What's missing is storing of the atom flag in<br>
>> MP4::Item. In case of the covr atom it can be:<br>
>><br>
>> 0x0D = JPEG<br>
>> 0x0E = PNG<br>
><br>
> in MP4::Atom there is no implementation of reading atoms flags so i thing i<br>
> will have to read them by myself :)<br>
> But i couldn't find much info about it, can you tell me what is the format<br>
> of the flags, are they stored right after (4 bytes atom length + 4 bytes<br>
> atom name)<br>
<br>
</div>You should create a modified version of MP4::Tag::parseData. That<br>
function already parses correctly the data atom (which is format <4b<br>
int size> <4b char name> <4b int flags> <data>), but but doesn't save<br>
the flags. It only uses it compare to the expected flag for the atom.<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Lukas Lalinsky<br>
<a href="mailto:lalinsky@gmail.com">lalinsky@gmail.com</a><br>
_______________________________________________<br>
taglib-devel mailing list<br>
<a href="mailto:taglib-devel@kde.org">taglib-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/taglib-devel" target="_blank">https://mail.kde.org/mailman/listinfo/taglib-devel</a><br>
</div></div></blockquote></div><br></div>