Skip to content

Commit

Permalink
MP3 export: initialize ID3 tag with id3tag_init
Browse files Browse the repository at this point in the history
Fixes wrongly set 'Blues' genre(ID 0) in exported mp3 files.
  • Loading branch information
PhysSong committed Jun 6, 2019
1 parent c37228c commit 47d6388
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/audio/AudioFileMP3.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 47d6388

Please sign in to comment.