MP3 export: initialize ID3 tag with id3tag_init

Fixes wrongly set 'Blues' genre(ID 0) in exported mp3 files.
This commit is contained in:
Hyunjin Song
2019-06-06 20:24:06 +09:00
parent c37228c7e3
commit 47d6388182

View File

@@ -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;