Skip to content

Commit e24ae7c

Browse files
committed
adds a workaround to avoid calling DeleteNamespace since XMP-Toolkit-sdk does not like it anymore
1 parent 5e4b069 commit e24ae7c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/xmp.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -634,8 +634,9 @@ void XmpParser::terminate() {
634634
void XmpParser::registerNs(const std::string& ns, const std::string& prefix) {
635635
try {
636636
initialize();
637-
AutoLock autoLock(xmpLockFct_, pLockData_);
638-
SXMPMeta::DeleteNamespace(ns.c_str());
637+
// apparently we can't delete namespaces anymore
638+
// see WXMPMeta.cpp
639+
// SXMPMeta::DeleteNamespace(ns.c_str());
639640
#ifdef EXV_ADOBE_XMPSDK
640641
SXMPMeta::RegisterNamespace(ns.c_str(), prefix.c_str(), nullptr);
641642
#else

0 commit comments

Comments
 (0)