summaryrefslogtreecommitdiff
path: root/src/util.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-02-23 01:48:53 +0100
committerCarl Hetherington <cth@carlh.net>2026-02-23 01:48:53 +0100
commit75e86accf241dc6e2d2c2235e21093a05b01b335 (patch)
treee18db446b6b90677df23e4329cc1584f03a6a2c5 /src/util.cc
parent20200f69bbf5bf611eb301b1e793384ee7cd568d (diff)
More hacks - MCA descriptors in CPL but not MXF.edgecode
Diffstat (limited to 'src/util.cc')
-rw-r--r--src/util.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/util.cc b/src/util.cc
index 77493ffa..17649c51 100644
--- a/src/util.cc
+++ b/src/util.cc
@@ -330,6 +330,17 @@ dcp::remove_urn_uuid(optional<string> raw)
string
+dcp::remove_urn_smpte_ul(string raw)
+{
+ if (raw.substr(0, 13) != "urn:smpte:ul:") {
+ throw BadURNSMPTEULError(raw);
+ }
+
+ return raw.substr(13);
+}
+
+
+string
dcp::openjpeg_version ()
{
return opj_version ();