summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-12-14 00:34:17 +0100
committerCarl Hetherington <cth@carlh.net>2024-12-14 00:34:17 +0100
commite190e748751a8f1cfaef8e71869ae5a9a9a0b6fc (patch)
tree06a9a5d4977647aff930092326ae79fd38a5c054
parenta3640be5cb04a2bda6726eb34c628727b3c11278 (diff)
Fix missing LengthChange() signal on repeating content.
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).
-rw-r--r--src/lib/playlist.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/playlist.cc b/src/lib/playlist.cc
index ebeac47e2..a0d7d6531 100644
--- 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();
}