diff --git a/libs/ardour/audiofile_tagger.cc b/libs/ardour/audiofile_tagger.cc index 591b8e9238..4c132cbcc6 100644 --- a/libs/ardour/audiofile_tagger.cc +++ b/libs/ardour/audiofile_tagger.cc @@ -88,11 +88,9 @@ AudiofileTagger::tag_file (std::string const& filename, SessionMetadata const& m TagLib::RIFF::Info::Tag* info_tag = dynamic_cast (wav_file->InfoTag ()); assert (info_tag); tag_riff_info (*info_tag, metadata); -#if 1 // Also add id3v2 header to .wav - TagLib::ID3v2::Tag* id3v2_tag = dynamic_cast (wav_file->tag ()); + TagLib::ID3v2::Tag* id3v2_tag = wav_file->ID3v2Tag (); assert (id3v2_tag); tag_id3v2 (*id3v2_tag, metadata); -#endif } TagLib::RIFF::AIFF::File* aiff_file;