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, 21 Jan 2025 18:02:47 +0000 (19:02 +0100)
commitf3adb88060e0818b2a4d129e7e131e15a3d1f23c
tree799f4af5a126ee8646580495f6214ff95c2c29b0
parentcf3ac9cfaf640a72596bdc670cd8eda27a1c3c8c
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