diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-11-24 00:34:03 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-11-24 00:34:03 +0000 |
| commit | 08aed48d141f403a93640cf62d8be70161bd1d30 (patch) | |
| tree | cb8e9bb77e26152ca13d2cb20a62ab9c8221cfc1 /src/lib | |
| parent | 7dad3914a40ba78b8a1964a0b27f88da0ff802d7 (diff) | |
Fix missed overload change.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/content.cc | 2 | ||||
| -rw-r--r-- | src/lib/content.h | 2 | ||||
| -rw-r--r-- | src/lib/film.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/content.cc b/src/lib/content.cc index 11bf63f11..1e73418b6 100644 --- a/src/lib/content.cc +++ b/src/lib/content.cc @@ -365,7 +365,7 @@ Content::user_properties () const /** @return DCP times of points within this content where a reel split could occur */ list<DCPTime> -Content::reel_split_points () const +Content::reel_split_points (shared_ptr<const Film>) const { list<DCPTime> t; /* This is only called for video content and such content has its position forced diff --git a/src/lib/content.h b/src/lib/content.h index 552017c64..bb66bc141 100644 --- a/src/lib/content.h +++ b/src/lib/content.h @@ -96,7 +96,7 @@ public: /** @return points at which to split this content when * REELTYPE_BY_VIDEO_CONTENT is in use. */ - virtual std::list<DCPTime> reel_split_points () const; + virtual std::list<DCPTime> reel_split_points (boost::shared_ptr<const Film>) const; boost::shared_ptr<Content> clone () const; diff --git a/src/lib/film.cc b/src/lib/film.cc index d27b15a65..61d9eee91 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -1493,7 +1493,7 @@ Film::reels () const shared_ptr<Content> last_video; BOOST_FOREACH (shared_ptr<Content> c, content ()) { if (c->video) { - BOOST_FOREACH (DCPTime t, c->reel_split_points()) { + BOOST_FOREACH (DCPTime t, c->reel_split_points(shared_from_this())) { if (last_split) { p.push_back (DCPTimePeriod (last_split.get(), t)); } |
