X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fvideo_mxf_content.h;h=dd470335c061209ec3b253dcec553eaa0265fc10;hp=c536cb2aa99da5fe7e8ee3177c777d2a945be6a5;hb=5eb8b5c3a1566aef638e9d9df03b88d320735092;hpb=254b3044d72de6b033d7c584f5abd2b9aa70aad5 diff --git a/src/lib/video_mxf_content.h b/src/lib/video_mxf_content.h index c536cb2aa..dd470335c 100644 --- a/src/lib/video_mxf_content.h +++ b/src/lib/video_mxf_content.h @@ -30,13 +30,18 @@ public: return boost::dynamic_pointer_cast (Content::shared_from_this ()); } + boost::shared_ptr shared_from_this () const { + return boost::dynamic_pointer_cast (Content::shared_from_this ()); + } + void examine (boost::shared_ptr film, boost::shared_ptr job); std::string summary () const; std::string technical_summary () const; std::string identifier () const; void as_xml (xmlpp::Node* node, bool with_paths) const; - DCPTime full_length (boost::shared_ptr film) const; - void add_properties (std::list& p) const; + dcpomatic::DCPTime full_length (boost::shared_ptr film) const; + dcpomatic::DCPTime approximate_length () const; + void add_properties (boost::shared_ptr film, std::list& p) const; static bool valid_mxf (boost::filesystem::path path); };