summaryrefslogtreecommitdiff
path: root/src/lib/film.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-17 16:03:13 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-17 16:03:13 +0100
commit5e067da58e99f4421ba16a672c319e2a9603090e (patch)
tree1721690af24d2c875ffac2dc1b4c165b0078feca /src/lib/film.cc
parente57c0ac4775b1bc20b731e0e640e67d75db1bd76 (diff)
Forward frequent parameter from Playlist::ContentChanged through Film::ContentChanged.
Diffstat (limited to 'src/lib/film.cc')
-rw-r--r--src/lib/film.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc
index 66d651c27..19aa6ae9b 100644
--- a/src/lib/film.cc
+++ b/src/lib/film.cc
@@ -136,7 +136,7 @@ Film::Film (boost::filesystem::path dir, bool log)
set_isdcf_date_today ();
_playlist_changed_connection = _playlist->Changed.connect (bind (&Film::playlist_changed, this));
- _playlist_content_changed_connection = _playlist->ContentChanged.connect (bind (&Film::playlist_content_changed, this, _1, _2));
+ _playlist_content_changed_connection = _playlist->ContentChanged.connect (bind (&Film::playlist_content_changed, this, _1, _2, _3));
/* Make state.directory a complete path without ..s (where possible)
(Code swiped from Adam Bowen on stackoverflow)
@@ -1019,7 +1019,7 @@ Film::active_frame_rate_change (DCPTime t) const
}
void
-Film::playlist_content_changed (boost::weak_ptr<Content> c, int p)
+Film::playlist_content_changed (boost::weak_ptr<Content> c, int p, bool frequent)
{
if (p == VideoContentProperty::VIDEO_FRAME_RATE) {
set_video_frame_rate (_playlist->best_dcp_frame_rate ());
@@ -1027,7 +1027,7 @@ Film::playlist_content_changed (boost::weak_ptr<Content> c, int p)
signal_changed (NAME);
}
- emit (boost::bind (boost::ref (ContentChanged), c, p));
+ emit (boost::bind (boost::ref (ContentChanged), c, p, frequent));
}
void