summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-06-19 20:30:04 +0200
committerCarl Hetherington <cth@carlh.net>2020-06-19 20:30:04 +0200
commit095fde688d700835eef34126d9985478fa74c4f6 (patch)
tree7489e76de86af72fa9d6c2738474f29b253a2deb
parent7066750d52663968960d496d256a0dfd8c96c856 (diff)
Fix timeline for DCPs containing Atmos.
-rw-r--r--src/wx/timeline.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/timeline.cc b/src/wx/timeline.cc
index cbea2333c..c9a6dc9f1 100644
--- a/src/wx/timeline.cc
+++ b/src/wx/timeline.cc
@@ -262,8 +262,8 @@ Timeline::recreate_views ()
_views.push_back (shared_ptr<TimelineView> (new TimelineTextContentView (*this, i, j)));
}
- if (dynamic_pointer_cast<AtmosMXFContent> (i)) {
- _views.push_back (shared_ptr<TimelineView> (new TimelineAtmosContentView (*this, i)));
+ if (i->atmos) {
+ _views.push_back (shared_ptr<TimelineView>(new TimelineAtmosContentView(*this, i)));
}
}