X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fvideo_content.h;h=774210c13ff191eb37521b6be328a110d79035d1;hb=ae95d9cab28e414245e15ddeae20e96735594a8b;hp=623a1858bc48c6031b602c05bdb27f5814de8eb0;hpb=1a693725f9a8cc6ba58f65b2f1ef03255d295f23;p=dcpomatic.git diff --git a/src/lib/video_content.h b/src/lib/video_content.h index 623a1858b..774210c13 100644 --- a/src/lib/video_content.h +++ b/src/lib/video_content.h @@ -51,13 +51,13 @@ public: class VideoContent : public ContentPart, public boost::enable_shared_from_this { public: - VideoContent (Content* parent); + explicit VideoContent (Content* parent); VideoContent (Content* parent, std::vector >); void as_xml (xmlpp::Node *) const; std::string technical_summary () const; std::string identifier () const; - void use_template (boost::shared_ptr c); + void take_settings_from (boost::shared_ptr c); Frame length () const { boost::mutex::scoped_lock lm (_mutex); @@ -168,6 +168,9 @@ public: void take_from_examiner (boost::shared_ptr); void add_properties (std::list &) const; + void modify_position (DCPTime& pos) const; + void modify_trim_start (ContentTime& pos) const; + static boost::shared_ptr from_xml (Content* parent, cxml::ConstNodePtr, int); private: