_entry_point = e;
}
- int64_t entry_point () const {
+ boost::optional<int64_t> entry_point () const {
return _entry_point;
}
_duration = d;
}
- int64_t duration () const {
+ boost::optional<int64_t> duration () const {
return _duration;
}
+ int64_t actual_duration () const;
+
std::string annotation_text () const {
return _annotation_text;
}
xmlpp::Node* write_to_cpl_base (xmlpp::Node* node, Standard standard, boost::optional<std::string> hash) const;
- int64_t _intrinsic_duration; ///< The <IntrinsicDuration> from the reel's entry for this asset
- int64_t _duration; ///< The <Duration> from the reel's entry for this asset
+ int64_t _intrinsic_duration; ///< The <IntrinsicDuration> from the reel's entry for this asset
+ boost::optional<int64_t> _duration; ///< The <Duration> from the reel's entry for this asset, if present
private:
- std::string _annotation_text; ///< The <AnnotationText> from the reel's entry for this asset
- Fraction _edit_rate; ///< The <EditRate> from the reel's entry for this asset
- int64_t _entry_point; ///< The <EntryPoint> from the reel's entry for this asset
+ std::string _annotation_text; ///< The <AnnotationText> from the reel's entry for this asset
+ Fraction _edit_rate; ///< The <EditRate> from the reel's entry for this asset
+ boost::optional<int64_t> _entry_point; ///< The <EntryPoint> from the reel's entry for this asset
};
}