summaryrefslogtreecommitdiff
path: root/src/mxf.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mxf.cc')
-rw-r--r--src/mxf.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mxf.cc b/src/mxf.cc
index 1154b80d..60ef5552 100644
--- a/src/mxf.cc
+++ b/src/mxf.cc
@@ -146,3 +146,10 @@ MXF::read_writer_info (ASDCP::WriterInfo const & info)
Kumu::bin2UUIDhex (info.AssetUUID, ASDCP::UUIDlen, buffer, sizeof (buffer));
return buffer;
}
+
+
+bool
+MXF::can_be_read() const
+{
+ return !encrypted() || key();
+}