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:
Michael Helmling
2013-01-03 23:20:15 +01:00
parent 80af92a715
commit 08863dec0b
13 changed files with 82 additions and 12 deletions

View File

@ -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)

View File

@ -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.