summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-05-04 22:19:19 +0200
committerCarl Hetherington <cth@carlh.net>2021-05-07 09:29:59 +0200
commit6228871af1612d50681bf110e8bf6d2571ad0313 (patch)
tree5a24d1f05aeccf8907134ea169b715213cd42bd1
parent7d9018b245140d2533891d90b84b143a3fcde26c (diff)
Make dcp_to_content_time() private.
-rw-r--r--src/lib/piece.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/piece.h b/src/lib/piece.h
index 37336afcb..d1b3b7dc5 100644
--- a/src/lib/piece.h
+++ b/src/lib/piece.h
@@ -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;