summaryrefslogtreecommitdiff
path: root/src/mxf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mxf.h')
-rw-r--r--src/mxf.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/mxf.h b/src/mxf.h
index c5ecd1b7..4fbc1495 100644
--- a/src/mxf.h
+++ b/src/mxf.h
@@ -105,10 +105,29 @@ public:
return _metadata;
}
+ Fraction edit_rate () const {
+ return _edit_rate;
+ }
+
+ /** @return The total length of this content in video frames.
+ * The amount of content presented may be less than this.
+ */
+ int64_t intrinsic_duration () const {
+ return _intrinsic_duration;
+ }
+
protected:
+ friend class MXFWriter;
+
std::string pkl_type (Standard standard) const;
void read_writer_info (ASDCP::WriterInfo const &);
+ Fraction _edit_rate;
+ /** The total length of this content in video frames. The amount of
+ * content presented may be less than this.
+ */
+ int64_t _intrinsic_duration;
+
ASDCP::AESEncContext* _encryption_context;
ASDCP::AESDecContext* _decryption_context;
/** ID of the key used for encryption/decryption, or an empty string */