From 47d6388182e9105c0cf7e87d494dd2db593350c5 Mon Sep 17 00:00:00 2001 From: Hyunjin Song Date: Thu, 6 Jun 2019 20:24:06 +0900 Subject: [PATCH] MP3 export: initialize ID3 tag with id3tag_init Fixes wrongly set 'Blues' genre(ID 0) in exported mp3 files. --- src/core/audio/AudioFileMP3.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/audio/AudioFileMP3.cpp b/src/core/audio/AudioFileMP3.cpp index cce7ec8e4ce..a00cdf6112d 100644 --- a/src/core/audio/AudioFileMP3.cpp +++ b/src/core/audio/AudioFileMP3.cpp @@ -120,6 +120,7 @@ bool AudioFileMP3::initEncoder() lame_set_brate(m_lame, bitRate); // Add a comment + id3tag_init(m_lame); id3tag_set_comment(m_lame, "Created with LMMS"); return lame_init_params(m_lame) != -1;