Merge pull request #779 from supermihi/master

Fixes #743 by not overwriting existing Xiph comment in FLAC::File::save
This commit is contained in:
Tsuda Kageyu 2016-11-28 21:03:39 +09:00 committed by GitHub
commit e9ef40fe7f

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