Skip to content
This repository has been archived by the owner on Feb 9, 2018. It is now read-only.

Commit

Permalink
Create UTF8-Lyrics per default.
Browse files Browse the repository at this point in the history
  • Loading branch information
rsjtdrjgfuzkfg committed Jan 18, 2013
1 parent 1e660dd commit 077208d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taglib/mpeg/id3v2/id3v2frame.cpp
Expand Up @@ -129,7 +129,7 @@ Frame *Frame::createTextualFrame(const String &key, const StringList &values) //
// now we check if it's one of the "special" cases:
// -LYRICS: depending on the number of values, use USLT or TXXX (with description=LYRICS)
if((key == "LYRICS" || key.startsWith(lyricsPrefix)) && values.size() == 1){
UnsynchronizedLyricsFrame *frame = new UnsynchronizedLyricsFrame();
UnsynchronizedLyricsFrame *frame = new UnsynchronizedLyricsFrame(String::UTF8);
frame->setDescription(key == "LYRICS" ? key : key.substr(lyricsPrefix.size()));
frame->setText(values.front());
return frame;
Expand Down

0 comments on commit 077208d

Please sign in to comment.