Ubuntu 20.04 packaging.
[dcpomatic.git] / src / wx / timeline_content_view.cc
index 69f1723cee28b6ea055ab647a1833882fa7a0e67..6902a11d62633785e1f0d3dd910793e378a4a9ca 100644 (file)
@@ -27,6 +27,7 @@
 
 using std::list;
 using boost::shared_ptr;
+using namespace dcpomatic;
 
 TimelineContentView::TimelineContentView (Timeline& tl, shared_ptr<Content> c)
        : TimelineView (tl)
@@ -127,7 +128,7 @@ TimelineContentView::do_paint (wxGraphicsContext* gc, list<dcpomatic::Rect<int>
 
        /* Reel split points */
        gc->SetPen (*wxThePenList->FindOrCreatePen (foreground_colour(), 1, wxPENSTYLE_DOT));
-       BOOST_FOREACH (DCPTime i, cont->reel_split_points ()) {
+       BOOST_FOREACH (DCPTime i, cont->reel_split_points(film)) {
                path = gc->CreatePath ();
                path.MoveToPoint (time_x (i), y_pos (_track.get()) + 4);
                path.AddLineToPoint (time_x (i), y_pos (_track.get() + 1) - 4);