From 1db03808cede4eb35870f30c7a8250e6f663a154 Mon Sep 17 00:00:00 2001 From: Scott Wheeler Date: Thu, 31 Aug 2006 21:25:00 +0000 Subject: [PATCH] Starting in a bit on my TODO list from taglib-devel. This is an invalid conversion. It may be worthwhile to do the conversions at a higher level at some point (in the tag, rather than frame generation), but for now just remove this one. CCMAIL:taglib-devel@kde.org git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@579343 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- mpeg/id3v2/id3v2framefactory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mpeg/id3v2/id3v2framefactory.cpp b/mpeg/id3v2/id3v2framefactory.cpp index 1fee2087..1761f9b7 100644 --- a/mpeg/id3v2/id3v2framefactory.cpp +++ b/mpeg/id3v2/id3v2framefactory.cpp @@ -274,14 +274,14 @@ bool FrameFactory::updateFrame(Frame::Header *header) const frameID == "RVAD" || frameID == "TIME" || frameID == "TRDA" || - frameID == "TSIZ") + frameID == "TSIZ" || + frameID == "TDAT") { debug("ID3v2.4 no longer supports the frame type " + String(frameID) + ". It will be discarded from the tag."); return false; } - convertFrame("TDAT", "TDRC", header); convertFrame("TORY", "TDOR", header); convertFrame("TYER", "TDRC", header);