diff options
Diffstat (limited to 'src/plugins/General/converter/converter.cpp')
| -rw-r--r-- | src/plugins/General/converter/converter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/General/converter/converter.cpp b/src/plugins/General/converter/converter.cpp index 2d6386b1b..49bf64d4a 100644 --- a/src/plugins/General/converter/converter.cpp +++ b/src/plugins/General/converter/converter.cpp @@ -265,7 +265,11 @@ void Converter::run() if(full_path.endsWith(".mp3", Qt::CaseInsensitive)) { TagLib::MPEG::File *mpeg_file = dynamic_cast <TagLib::MPEG::File *> (file.file()); +#if ((TAGLIB_MAJOR_VERSION == 1) && (TAGLIB_MINOR_VERSION <= 11)) mpeg_file->save(TagLib::MPEG::File::ID3v2, true); +#else + mpeg_file->save(TagLib::MPEG::File::ID3v2, TagLib::File::StripOthers); +#endif } else file.save(); |
