projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5088493
)
Fix reel setup when the last reel is less than 1 second long.
author
Carl Hetherington
<cth@carlh.net>
Sun, 21 Feb 2021 19:26:32 +0000
(20:26 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 23 Feb 2021 19:09:39 +0000
(20:09 +0100)
src/lib/film.cc
patch
|
blob
|
history
diff --git
a/src/lib/film.cc
b/src/lib/film.cc
index 7720249021eeaa0dd5bd3265b0db72c6ffe65788..a51ec0ad9ac58f35a3b49724fc588437ec44b794 100644
(file)
--- 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: