diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-12-11 01:06:37 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-12-11 01:06:37 +0000 |
| commit | 14c5566fe90b2584c7474c3250e6506d70e81510 (patch) | |
| tree | a219ac33ceb407eb384e0781b4f4e741f99a374d /src/lib/content.cc | |
| parent | f09e516b90f0b097c949926831ad1bc282ba41f7 (diff) | |
Fix various problems caused by non-integer-frame start trims,
and also by the inability of content_video_to_dcp to return
negative values. The latter is necessary for tests on "is this
content too early" to work.
Diffstat (limited to 'src/lib/content.cc')
| -rw-r--r-- | src/lib/content.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/content.cc b/src/lib/content.cc index 691d3a66a..f12464892 100644 --- a/src/lib/content.cc +++ b/src/lib/content.cc @@ -210,6 +210,11 @@ Content::set_position (DCPTime p) void Content::set_trim_start (ContentTime t) { + /* video content can modify its start trim */ + if (video) { + video->modify_trim_start (t); + } + { boost::mutex::scoped_lock lm (_mutex); _trim_start = t; |
