MP4 covr type detection

James Turner zakalawe at mac.com
Wed Nov 16 16:26:10 UTC 2011


Hi,

I've encountered an issue, with certain tag editors omitting the image type data when writing an MP4 'covr' atom. The fix / workaround is to sniff the image type based on the actual image data, which is pretty easy for PNG and JPEG. Attached patch shows what I've done so far.

Feedback / applying this would be welcome, or I can submit a Github pull request if preferred.

Regards,
James

-------------- next part --------------
A non-text attachment was scrubbed...
Name: taglib-mp4-covr-sniff.diff
Type: application/octet-stream
Size: 1248 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20111116/1715efac/attachment.obj>


More information about the taglib-devel mailing list