Use round rather than ceil when putting positions and start trims
authorCarl Hetherington <cth@carlh.net>
Tue, 17 Apr 2018 21:04:39 +0000 (22:04 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 17 Apr 2018 21:04:39 +0000 (22:04 +0100)
commit4a8151ae7a2669fabed85c9140d932481bdf4c9f
treef64181a13ef27b7fd39208f03508879e703c20cd
parentf46a52979f3ab49403408127141d3fed52bedbc7
Use round rather than ceil when putting positions and start trims
onto frame boundaries.  ceil() can creep upwards with rounding error,
which I have seen happen over a save/load.
src/lib/video_content.cc