mirror of
https://github.com/taglib/taglib.git
synced 2026-02-07 07:50:42 -05:00
StripAll should be treated as equivalent to StripOthers in save()
This commit is contained in:
@ -244,7 +244,7 @@ bool MPEG::File::save(int tags, StripTags strip, ID3v2::Version version, Duplica
|
||||
|
||||
// Remove all the tags not going to be saved.
|
||||
|
||||
if(strip == StripOthers)
|
||||
if(strip == StripOthers || strip == StripAll)
|
||||
File::strip(~tags, false);
|
||||
|
||||
if(ID3v2 & tags) {
|
||||
|
||||
Reference in New Issue
Block a user