Taglib: Use ID3v2Tag() instead of tag() for RIFF::WAV::File
authorVikram Kangotra <vikramkangotra8055@gmail.com>
Fri, 2 Feb 2024 21:22:52 +0000 (02:52 +0530)
committerSebastian Ramacher <sramacher@debian.org>
Tue, 14 Jan 2025 22:09:47 +0000 (23:09 +0100)
commit75d4c96c8f321c8ebb534e902173e55023624d87
tree029b95951b65ef3692b649e2be902e6fd75e85c7
parent49529b8b7fded4217f83871e1bc6985860bf7c28
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.

(cherry picked from commit ec29dfca1e59530dd412d779e0b045079b72ffb6)

Gbp-Pq: Name 0055-Taglib-Use-ID3v2Tag-instead-of-tag-for-RIFF-WAV-File.patch
modules/meta_engine/taglib.cpp