diff options
Diffstat (limited to 'src/lib/content.cc')
| -rw-r--r-- | src/lib/content.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/content.cc b/src/lib/content.cc index 49ab944be..b6f7ebbaa 100644 --- a/src/lib/content.cc +++ b/src/lib/content.cc @@ -255,6 +255,8 @@ Content::set_position (shared_ptr<const Film> film, DCPTime p, bool force_emit) void Content::set_trim_start (ContentTime t) { + DCPOMATIC_ASSERT (t.get() >= 0); + /* video and audio content can modify its start trim */ if (video) { @@ -278,6 +280,8 @@ Content::set_trim_start (ContentTime t) void Content::set_trim_end (ContentTime t) { + DCPOMATIC_ASSERT (t.get() >= 0); + ContentChangeSignaller cc (this, ContentProperty::TRIM_END); { |
