MP3 export: initialize ID3 tag with id3tag_init
Fixes wrongly set 'Blues' genre(ID 0) in exported mp3 files.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user