Skip to content

Commit 47d6388

Browse files
committed
MP3 export: initialize ID3 tag with id3tag_init
Fixes wrongly set 'Blues' genre(ID 0) in exported mp3 files.
1 parent c37228c commit 47d6388

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/audio/AudioFileMP3.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ bool AudioFileMP3::initEncoder()
120120
lame_set_brate(m_lame, bitRate);
121121

122122
// Add a comment
123+
id3tag_init(m_lame);
123124
id3tag_set_comment(m_lame, "Created with LMMS");
124125

125126
return lame_init_params(m_lame) != -1;

0 commit comments

Comments
 (0)