diff options
Diffstat (limited to 'src/lib/content.cc')
| -rw-r--r-- | src/lib/content.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/content.cc b/src/lib/content.cc index af85e0ff0..2c89f7c34 100644 --- a/src/lib/content.cc +++ b/src/lib/content.cc @@ -295,3 +295,13 @@ Content::film () const DCPOMATIC_ASSERT (film); return film; } + +/** @return DCP times of points within this content where a reel split could occur */ +list<DCPTime> +Content::reel_split_points () const +{ + list<DCPTime> t; + /* XXX: this is questionable; perhaps the position itself should be forced to be on a frame boundary */ + t.push_back (position().round_up (film()->video_frame_rate())); + return t; +} |
