mirror of
https://github.com/taglib/taglib.git
synced 2025-07-18 13:04:18 -04:00
Fixes #743 by not overwriting existing Xiph comment in FLAC::File::save
This commit is contained in:
@ -168,8 +168,9 @@ bool FLAC::File::save()
|
||||
}
|
||||
|
||||
// Create new vorbis comments
|
||||
|
||||
Tag::duplicate(&d->tag, xiphComment(true), false);
|
||||
if (!hasXiphComment())
|
||||
Tag::duplicate(&d->tag, xiphComment(true), false);
|
||||
|
||||
|
||||
d->xiphCommentData = xiphComment()->render(false);
|
||||
|
||||
|
Reference in New Issue
Block a user