summaryrefslogtreecommitdiff
path: root/src/sound_mxf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound_mxf.h')
-rw-r--r--src/sound_mxf.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/sound_mxf.h b/src/sound_mxf.h
index 80585055..a8746311 100644
--- a/src/sound_mxf.h
+++ b/src/sound_mxf.h
@@ -63,11 +63,26 @@ public:
return _sampling_rate;
}
+ Fraction edit_rate () const {
+ return _edit_rate;
+ }
+
+ int64_t intrinsic_duration () const {
+ return _intrinsic_duration;
+ }
+
private:
+ friend class SoundMXFWriter;
+
std::string asdcp_kind () const {
return "Sound";
}
+ 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;
int _channels; ///< number of channels
int _sampling_rate; ///< sampling rate in Hz
};