<div dir="ltr"><div><div>I've added log statements to the 1.8 final source code and determined that when an MP4 file/tag is constructed, the tag is constructed multiple times.<br><br></div><div>Test file:<br><a href="http://dl.dropbox.com/u/22586935/test/121%20My%20Heart%2C%20My%20Soul.m4a">http://dl.dropbox.com/u/22586935/test/121%20My%20Heart%2C%20My%20Soul.m4a</a><br>
</div><div><br>Log change:<br><a href="https://github.com/taglib/taglib/blob/stable/taglib/mp4/mp4tag.cpp#L174">https://github.com/taglib/taglib/blob/stable/taglib/mp4/mp4tag.cpp#L174</a><br></div><div>In ParseText function,<br>
</div><div>Added: printf("Inserted %s : %s.",<br> atom->name.data(),<br> value.toString(" ; ").toCString(true));<br><br></div></div><div>Full log:<br><a href="http://pastebin.com/EYba1uDL">http://pastebin.com/EYba1uDL</a><br>
<br></div><div>Order of tags read:<br>04-03 03:13:29.545: Inserted �alb�������� : <br>04-03 03:13:29.545: Inserted aART�������� : <br>04-03 03:13:29.555: Inserted �ART�������� : <br>04-03 03:13:29.555: Inserted �wrt�������� : Good (1st)<br>
04-03 03:13:29.555: Inserted cprt�������� : <br>04-03 03:13:29.555: Inserted �lyr�������� : <br>04-03 03:13:29.555: Inserted �nam�������� : <br>04-03 03:13:29.565: Inserted �too�������� : <br>04-03 03:13:29.565: Inserted �day�������� : <br>
04-03 03:13:29.565: Inserted �wrt�������� : BAD blank! (2nd)<br>04-03 03:13:29.585: Inserted �alb: : <br>04-03 03:13:29.585: Inserted aARTo : <br>04-03 03:13:29.585: Inserted �ARTp : <br>04-03 03:13:29.585: Inserted �wrt0 : Good (3rd)<br>
04-03 03:13:29.585: Inserted cprt : <br>04-03 03:13:29.595: Inserted �lyr, : (longer by 7-8 chars compared to the first "?lry" atom)<br>04-03 03:13:29.595: Inserted �nam in my h : <br>04-03 03:13:29.595: Inserted �toodo it to : <br>
04-03 03:13:29.595: Inserted �dayuals[00 : <br>04-03 03:13:29.595: Inserted �wrtack to b : BAD blank! (4th)<br><br><br></div><div>As you can see, Composer was read 4 times, with the last read being a blank string. Additionally, atom's name gets garbled after the first 4 characters.<br>
<br></div><div>Can anyone explain what's going on here? Bad m4a file? Bug in TagLib? Broken behavior because of compiling for Android?<br><br>Thanks,<br>Duke<br></div></div>