summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-09-07 13:46:34 +0100
committerCarl Hetherington <cth@carlh.net>2018-09-07 13:46:34 +0100
commitb688d7362de5c0319284a74f46d17928b1be91eb (patch)
tree687c0f7ea2387285ee8128883312806bf36a8fd4 /src/lib
parenta0d8fab19620aa55e5d9a672010ff3c00e6a2ae4 (diff)
Use possibly-safer means of emitting maybe_sequence.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/film.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc
index 0000dca10..bd5724828 100644
--- a/src/lib/film.cc
+++ b/src/lib/film.cc
@@ -957,9 +957,8 @@ Film::signal_change (ChangeType type, Property p)
if (p == Film::VIDEO_FRAME_RATE || p == Film::SEQUENCE) {
/* We want to call Playlist::maybe_sequence but this must happen after the
main signal emission (since the butler will see that emission and un-suspend itself).
- Doing it this way ensures that the Change signal above is emitted first.
*/
- signal_manager->when_idle (boost::bind(&Playlist::maybe_sequence, _playlist.get()));
+ emit (boost::bind(&Playlist::maybe_sequence, _playlist.get()));
}
} else {
Change (type, p);