]> granicus.if.org Git - taglib/commit
Fix issue #88 by changing the behavior of setProperties().
authorMichael Helmling <helmling@mathematik.uni-kl.de>
Mon, 10 Dec 2012 19:56:16 +0000 (20:56 +0100)
committerMichael Helmling <helmling@mathematik.uni-kl.de>
Mon, 10 Dec 2012 19:56:16 +0000 (20:56 +0100)
commitc0ca5c97d51512a40b4f75f0daeea7ce44302ec9
treec3b096cfe4cc17ff025310aa1c189c9d523da2d3
parentd5cf6d72e208320c8200bcf24de2f7e602a2019b
Fix issue #88 by changing the behavior of setProperties().

For file types that support multiple tag standards (for example, FLAC
files can have ID3v1, ID3v2, and Vorbis comments) setProperties is now
called for all existing tags instead of only for the most recommended
one.
This fixes the problem that under some circumstances it was not possible
to delete a value using setProperties() because upon save() the call to
Tag::duplicate recovered that value from the ID3v1 tag.
taglib/ape/apefile.cpp
taglib/flac/flacfile.cpp
taglib/mpc/mpcfile.cpp
taglib/mpeg/mpegfile.cpp
taglib/trueaudio/trueaudiofile.cpp
taglib/wavpack/wavpackfile.cpp