summaryrefslogtreecommitdiff
path: root/src/lib/film.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-07-16 00:50:12 +0200
committerCarl Hetherington <cth@carlh.net>2025-07-16 00:57:23 +0200
commit2a7f3a1840bf2495656efff17a6c35ab3873b441 (patch)
treeaec803fbfced7c575a2fa0998e7be7fcbf1a2ea3 /src/lib/film.cc
parent3bc9ca466dc3e9afaf290283d6895338f23c948d (diff)
Remove unused content pointer from change signals.
Diffstat (limited to 'src/lib/film.cc')
-rw-r--r--src/lib/film.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc
index a1ab3ccf3..101a614ee 100644
--- a/src/lib/film.cc
+++ b/src/lib/film.cc
@@ -214,7 +214,7 @@ Film::Film(optional<boost::filesystem::path> dir)
_playlist_change_connection = _playlist->Change.connect(bind(&Film::playlist_change, this, _1));
_playlist_order_changed_connection = _playlist->OrderChange.connect(bind(&Film::playlist_order_changed, this));
- _playlist_content_change_connection = _playlist->ContentChange.connect(bind(&Film::playlist_content_change, this, _1, _2, _3, _4));
+ _playlist_content_change_connection = _playlist->ContentChange.connect(bind(&Film::playlist_content_change, this, _1, _2, _3));
_playlist_length_change_connection = _playlist->LengthChange.connect(bind(&Film::playlist_length_change, this));
if (dir) {
@@ -1597,7 +1597,7 @@ Film::active_frame_rate_change(DCPTime t) const
}
void
-Film::playlist_content_change(ChangeType type, weak_ptr<Content> c, int p, bool frequent)
+Film::playlist_content_change(ChangeType type, int p, bool frequent)
{
switch (p) {
case ContentProperty::VIDEO_FRAME_RATE:
@@ -1609,12 +1609,12 @@ Film::playlist_content_change(ChangeType type, weak_ptr<Content> c, int p, bool
}
if (type == ChangeType::DONE) {
- emit(boost::bind(boost::ref(ContentChange), type, c, p, frequent));
+ emit(boost::bind(boost::ref(ContentChange), type, p, frequent));
if (!frequent) {
check_settings_consistency();
}
} else {
- ContentChange(type, c, p, frequent);
+ ContentChange(type, p, frequent);
}
set_dirty(true);