From 1b00aa51d4c166a7e11c84168b50b3f33fd6b401 Mon Sep 17 00:00:00 2001 From: fgerlits Date: Mon, 11 Sep 2006 16:17:15 +0000 Subject: [PATCH] removing one likely reason of Pango warnings --- livesupport/src/modules/core/src/AudioClip.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/livesupport/src/modules/core/src/AudioClip.cxx b/livesupport/src/modules/core/src/AudioClip.cxx index d44159a8b..fa785229f 100644 --- a/livesupport/src/modules/core/src/AudioClip.cxx +++ b/livesupport/src/modules/core/src/AudioClip.cxx @@ -478,7 +478,9 @@ AudioClip :: setMetadata(Ptr::Ref value, const std::string &key) throw (std::invalid_argument) { - std::string name, prefix; + std::string name; + std::string prefix; + separateNameAndNameSpace(key, name, prefix); setMetadata(value, name, prefix); } @@ -657,7 +659,7 @@ AudioClip :: readTag(Ptr::Ref metadataTypes) TagLib::ID3v2::FrameList frameList = it->second; if (!frameList.isEmpty()) { value.reset(new const Glib::ustring( - frameList.front()->toString().to8Bit(false))); + frameList.front()->toString().to8Bit(true))); setMetadata(value, *metadata->getDcName()); } } catch (std::invalid_argument &e) {