mirror of
https://github.com/taglib/taglib.git
synced 2025-11-13 05:02:54 -05:00
Found and fixed more missing property interface forwarders.
Probably due to a copy-and-paste error the implementation of File::removeUnsupportedProperties() contained cases for several type which do not reimplement this method; for others the implementation was missing and is now included. In addition, the formats Speex and Opus suffered from the same bug as OggFLAC in the commit before, which is now fixed.
This commit is contained in:
@ -139,6 +139,12 @@ PropertyMap TrueAudio::File::properties() const
|
||||
return PropertyMap();
|
||||
}
|
||||
|
||||
void TrueAudio::File::removeUnsupportedProperties(const StringList &unsupported)
|
||||
{
|
||||
if(d->hasID3v2)
|
||||
d->tag.access<ID3v2::Tag>(TrueAudioID3v2Index, false)->removeUnsupportedProperties(unsupported);
|
||||
}
|
||||
|
||||
PropertyMap TrueAudio::File::setProperties(const PropertyMap &properties)
|
||||
{
|
||||
if(d->hasID3v1)
|
||||
|
||||
@ -144,6 +144,8 @@ namespace TagLib {
|
||||
*/
|
||||
PropertyMap setProperties(const PropertyMap &);
|
||||
|
||||
void removeUnsupportedProperties(const StringList &properties);
|
||||
|
||||
/*!
|
||||
* Returns the TrueAudio::Properties for this file. If no audio properties
|
||||
* were read then this will return a null pointer.
|
||||
|
||||
Reference in New Issue
Block a user