Reasonably straightforward stuff; main things are adding
[dcpomatic.git] / src / wx / timeline.cc
index 786d70721c5549498ceffbec0314df7039282b0b..31981deea7b4129e590715ca0a6146e2031f0839 100644 (file)
@@ -145,7 +145,7 @@ Timeline::recreate_views ()
        _views.push_back (_labels_view);
 
        BOOST_FOREACH (shared_ptr<Content> i, film->content ()) {
-               if (dynamic_pointer_cast<VideoContent> (i)) {
+               if (i->video) {
                        _views.push_back (shared_ptr<TimelineView> (new TimelineVideoContentView (*this, i)));
                }