From 572df2c3bd10737b457dd92844fb451633ca7752 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 26 Mar 2019 22:25:20 +0100 Subject: NO-OP: add comment for cross-reference --- libs/ardour/audiofile_tagger.cc | 2 ++ libs/ardour/session_metadata.cc | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/libs/ardour/audiofile_tagger.cc b/libs/ardour/audiofile_tagger.cc index 0131292680..c8e30e7e49 100644 --- a/libs/ardour/audiofile_tagger.cc +++ b/libs/ardour/audiofile_tagger.cc @@ -42,6 +42,8 @@ namespace ARDOUR bool AudiofileTagger::tag_file (std::string const & filename, SessionMetadata const & metadata) { + /* see also SessionMetadata::av_export_tag () for ffmpeg/liblame */ + TagLib::FileRef file (filename.c_str()); if (file.isNull()) { std::cerr << "TagLib::FileRef is null for file" << filename << std::endl; diff --git a/libs/ardour/session_metadata.cc b/libs/ardour/session_metadata.cc index fbe5222552..c696b6cd22 100644 --- a/libs/ardour/session_metadata.cc +++ b/libs/ardour/session_metadata.cc @@ -651,6 +651,12 @@ SessionMetadata::set_country (const string & v) void SessionMetadata::av_export_tag (MetaDataMap& meta) const { + /* this is used for ffmpeg/liblame -metadata key=value + * (video and mp3 export). + * for flac/ogg's vorbis-comment see: + * AudiofileTagger::tag_generic() + * AudiofileTagger::tag_vorbis_comment() + */ if (year() > 0) { std::ostringstream osstream; osstream << year(); meta["year"] = osstream.str(); -- cgit v1.2.3