summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/film.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc
index c969ff699..f26dcaed0 100644
--- a/src/lib/film.cc
+++ b/src/lib/film.cc
@@ -1571,10 +1571,13 @@ Film::active_frame_rate_change(DCPTime t) const
void
Film::playlist_content_change(ChangeType type, weak_ptr<Content> c, int p, bool frequent)
{
- if (p == ContentProperty::VIDEO_FRAME_RATE) {
+ switch (p) {
+ case ContentProperty::VIDEO_FRAME_RATE:
signal_change(type, FilmProperty::CONTENT);
- } else if (p == AudioContentProperty::STREAMS) {
+ break;
+ case AudioContentProperty::STREAMS:
signal_change(type, FilmProperty::NAME);
+ break;
}
if (type == ChangeType::DONE) {