projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3640be
)
Fix missing LengthChange() signal on repeating content.
author
Carl Hetherington
<cth@carlh.net>
Fri, 13 Dec 2024 23:34:17 +0000
(
00:34
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 13 Dec 2024 23:34:17 +0000
(
00:34
+0100)
Previously strange things would happen when repeating some content and
then playing the resulting film (because various things would not notice
that the film length had changed).
src/lib/playlist.cc
patch
|
blob
|
history
diff --git
a/src/lib/playlist.cc
b/src/lib/playlist.cc
index ebeac47e2724dffa0c44db08fab11d08965db5ec..a0d7d6531c3f10f6ec8c0720fabd18d4419f5815 100644
(file)
--- a/
src/lib/playlist.cc
+++ b/
src/lib/playlist.cc
@@
-599,6
+599,8
@@
Playlist::repeat (shared_ptr<const Film> film, ContentList c, int n)
}
Change (ChangeType::DONE);
+
+ LengthChange();
}