From 61f31915024a097fe1b7cf3cb7b955457e8cd7b8 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 21 Feb 2021 20:26:32 +0100 Subject: [PATCH] Fix reel setup when the last reel is less than 1 second long. --- src/lib/film.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/film.cc b/src/lib/film.cc index 772024902..a51ec0ad9 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -1800,6 +1800,10 @@ Film::reels () const last = t; } } + + if (!p.empty()) { + p.back().to = split_points.back(); + } break; } case ReelType::BY_LENGTH: -- 2.30.2