Draft: [3.0 backport]: Taglib: Use ID3v2Tag() instead of tag() for RIFF::WAV::File
WriteMetaToId3v2
expects a ID3v2::Tag
instead of Tag
, but Since TagLib v2.0,
RIFF::WAV::File::tag()
returns a Tag
instead of ID3v2::Tag
, hence replace
the usage of tag()
method with ID3v2Tag()
.
https://github.com/taglib/taglib/blob/master/taglib/riff/wav/wavfile.h#L124
Additionally, to resolve the compilation error, the function signatures of
insert
and removeBlock
have been adjusted to align with the base class
functions.
Signed-off-by: Alexandre Janniaux ajanni@videolabs.io
(cherry picked from commit ec29dfca)