summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-07-28 16:17:59 +0100
committerCarl Hetherington <cth@carlh.net>2015-07-28 16:17:59 +0100
commitc41a10952ef0f9988a16830dc1cf940cce0e91e3 (patch)
treeabde805ff90c318a04f825c315ff006c660be142
parentd44f2508ca0134e3671b933632535cffff203dfa (diff)
Missing set of _dirty when content changes.
-rw-r--r--ChangeLog3
-rw-r--r--src/lib/film.cc2
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3e95cb385..b0d7898dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2015-07-28 c.hetherington <cth@carlh.net>
+ * Notice when content is modified and offer to save the project
+ on closing DCP-o-matic.
+
* Recognise .w64 and .flac as audio files.
2015-07-27 Carl Hetherington <cth@carlh.net>
diff --git a/src/lib/film.cc b/src/lib/film.cc
index f87764da0..e935e76bc 100644
--- a/src/lib/film.cc
+++ b/src/lib/film.cc
@@ -998,6 +998,8 @@ Film::active_frame_rate_change (DCPTime t) const
void
Film::playlist_content_changed (boost::weak_ptr<Content> c, int p, bool frequent)
{
+ _dirty = true;
+
if (p == VideoContentProperty::VIDEO_FRAME_RATE) {
set_video_frame_rate (_playlist->best_dcp_frame_rate ());
} else if (p == AudioContentProperty::AUDIO_STREAMS) {