using boost::bind;
using boost::optional;
using namespace dcpomatic;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
/* 3 hours in 640 pixels */
double const Timeline::_minimum_pixels_per_second = 640.0 / (60 * 60 * 3);
_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)));
}
}