- auto const f = full_length.frames_round (vfr);
- auto v = video->position(film()).get_value_or(ContentTime()).frames_round(vfr) + 1;
- while (v < f) {
- video->emit (film(), make_shared<const RawImageProxy>(_black_image), v);
- ++v;
+ auto v = video->position(film()).get_value_or(ContentTime()) + ContentTime::from_frames(1, vfr);
+ while (v < full_length) {
+ video->emit(film(), make_shared<const RawImageProxy>(_black_image), v);
+ v += ContentTime::from_frames(1, vfr);