X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fatmos_mxf_content.h;h=06e9e747d9cb61759eba3268d6dd32d1803f8555;hb=052ec34bd487a3645013e87a7062738284d050df;hp=156ebc7888c708d94517207f1c02cc02c4ae87dd;hpb=254b3044d72de6b033d7c584f5abd2b9aa70aad5;p=dcpomatic.git diff --git a/src/lib/atmos_mxf_content.h b/src/lib/atmos_mxf_content.h index 156ebc788..06e9e747d 100644 --- a/src/lib/atmos_mxf_content.h +++ b/src/lib/atmos_mxf_content.h @@ -30,10 +30,15 @@ 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; void as_xml (xmlpp::Node* node, bool with_path) const; - DCPTime full_length (boost::shared_ptr film) const; + dcpomatic::DCPTime full_length (boost::shared_ptr film) const; + dcpomatic::DCPTime approximate_length () const; static bool valid_mxf (boost::filesystem::path path);