mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 16:10:06 +02:00
Bug 2217 - Metadata: When exporting to FLAC the "Comment" field is ignored and not exported with the audio file
This commit is contained in:
parent
af0fdda8f6
commit
81da0ef1f7
@ -460,6 +460,10 @@ bool ExportFLAC::GetMetadata(AudacityProject *project, const Tags *tags)
|
||||
if (n == TAG_YEAR) {
|
||||
n = wxT("DATE");
|
||||
}
|
||||
else if (n == TAG_COMMENTS) {
|
||||
// N.B. There seems to be COMMENT and DESCRIPTION in use.
|
||||
n = wxT("COMMENT");
|
||||
}
|
||||
FLAC::Metadata::VorbisComment::Entry entry(n.mb_str(wxConvUTF8),
|
||||
v.mb_str(wxConvUTF8));
|
||||
if (! ::FLAC__metadata_object_vorbiscomment_append_comment(mMetadata.get(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user