Use Film::length() rather than Playlist::length() (former is rounded up
authorCarl Hetherington <cth@carlh.net>
Wed, 12 Jul 2017 14:17:50 +0000 (15:17 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 12 Jul 2017 14:17:50 +0000 (15:17 +0100)
commit19c8f785894306bfa7998775d462f7f80cde8eaf
treef1007ba7dc48ded78567bb133c5bcfbe58149e1e
parentdbaeeb06e7bc4bb1667a5a17076a0723284ed66c
Use Film::length() rather than Playlist::length() (former is rounded up
to the next video frame).  Fix thinko in ::done().  Fix initial value
of _position when the first empty period does not start at time 0.
src/lib/empty.cc
src/lib/empty.h