Make dcp_to_content_time() private.
authorCarl Hetherington <cth@carlh.net>
Tue, 4 May 2021 20:19:19 +0000 (22:19 +0200)
committerCarl Hetherington <cth@carlh.net>
Fri, 7 May 2021 07:29:59 +0000 (09:29 +0200)
src/lib/piece.h

index 37336afcbeb34c0c8da6ec99ccd5f7d168f95771..d1b3b7dc5bd0b86a7220674448acab5ecd1b204c 100644 (file)
@@ -54,7 +54,6 @@ public:
 
        dcpomatic::DCPTime content_video_to_dcp (Frame f) const;
        dcpomatic::DCPTime resampled_audio_to_dcp (Frame f) const;
-       dcpomatic::ContentTime dcp_to_content_time (dcpomatic::DCPTime t) const;
        boost::optional<dcpomatic::DCPTime> content_time_to_dcp (std::shared_ptr<const Content> content, dcpomatic::ContentTime t) const;
 
        void pass ();
@@ -109,6 +108,8 @@ private:
        void flush ();
        bool done () const;
 
+       dcpomatic::ContentTime dcp_to_content_time (dcpomatic::DCPTime t) const;
+
        std::weak_ptr<const Film> _film;
        std::shared_ptr<Content> _content;
        std::shared_ptr<Decoder> _decoder;