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>
Fri, 7 Mar 2025 06:31:22 +0000 (07:31 +0100)
commit38ce14d4a9ca8c9db3356860773de77f4ffe42cd
tree59477c8e78440cc7652c2fc7e0ebc7cb78e78d93
parentca09db137d960979846924faa8d14a9f88224607
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