Fixes #743 by not overwriting existing Xiph comment in FLAC::File::save

This commit is contained in:
Michael Helmling 2016-11-27 19:17:13 +01:00
parent d3062f3af4
commit 2786aa7463

View File

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