aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/mad/replaygainreader.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-10-17 12:09:44 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-10-17 12:09:44 +0000
commita615b3fe4b4db04e9d2289f999aae53db7be8ebc (patch)
tree50701317cff464f5cb94e139e8c15d68c87eab0f /src/plugins/Input/mad/replaygainreader.cpp
parent0c8d8a0d2d328a686223138e8e8058d6c643dad3 (diff)
downloadqmmp-a615b3fe4b4db04e9d2289f999aae53db7be8ebc.tar.gz
qmmp-a615b3fe4b4db04e9d2289f999aae53db7be8ebc.tar.bz2
qmmp-a615b3fe4b4db04e9d2289f999aae53db7be8ebc.zip
rgscan: added id3v2 support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3809 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/mad/replaygainreader.cpp')
-rw-r--r--src/plugins/Input/mad/replaygainreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/Input/mad/replaygainreader.cpp b/src/plugins/Input/mad/replaygainreader.cpp
index c4f78ef70..569ad5fea 100644
--- a/src/plugins/Input/mad/replaygainreader.cpp
+++ b/src/plugins/Input/mad/replaygainreader.cpp
@@ -43,7 +43,7 @@ QMap <Qmmp::ReplayGainKey, double> ReplayGainReader::replayGainInfo() const
void ReplayGainReader::readID3v2(TagLib::ID3v2::Tag *tag)
{
TagLib::ID3v2::UserTextIdentificationFrame* frame = 0;
- TagLib::ID3v2::FrameList frames = tag->frameListMap()["TXXX"];
+ TagLib::ID3v2::FrameList frames = tag->frameList("TXXX");
for(TagLib::ID3v2::FrameList::Iterator it = frames.begin(); it != frames.end(); ++it)
{
frame = dynamic_cast<TagLib::ID3v2::UserTextIdentificationFrame*>(*it);