]> granicus.if.org Git - taglib/commit
Deprecate calls to MPEG::File::save(...) that use boolean params
authorScott Wheeler <scott@directededge.com>
Tue, 10 Sep 2019 13:27:44 +0000 (15:27 +0200)
committerScott Wheeler <scott@directededge.com>
Tue, 10 Sep 2019 20:59:07 +0000 (22:59 +0200)
commitb8dc105ae3ae5948ac6c7e3a45d5e4d6d846bd75
tree0f8220191989f0d46d0271cc8df5fe3f502d7181
parentfced0f46e950c88c4646c081090705e3de6f4d5e
Deprecate calls to MPEG::File::save(...) that use boolean params

This uses explicit enums for e.g. the ID3v2 version, making calls more
readable:

  file.save(ID3v1 | ID3v2, StripOthers, ID3v2::v4, Duplicate);

Instead of:

  file.save(ID3v1 | ID3v2, true, 4, true);

Needs to be ported to other types, per #922
taglib/CMakeLists.txt
taglib/mpeg/id3v2/id3v2header.h
taglib/mpeg/id3v2/id3v2tag.cpp
taglib/mpeg/id3v2/id3v2tag.h
taglib/mpeg/mpegfile.cpp
taglib/mpeg/mpegfile.h
taglib/toolkit/tfile.h
tests/test_id3v2.cpp
tests/test_mpeg.cpp