Various bits and pieces.
[dcpomatic.git] / src / wx / timeline.cc
index e5457020fd561ee4f5802ef001fed3f920cbeff7..eff686a354564a2f0e126f86e5172bf7d2723c24 100644 (file)
@@ -75,7 +75,7 @@ public:
                }
 
                Time const start = content->start ();
-               Time const len = content->length (film);
+               Time const len = content->length ();
 
                gc->SetPen (*wxBLACK_PEN);
                
@@ -127,7 +127,7 @@ public:
                return Rect (
                        time_x (content->start ()),
                        y_pos (_track),
-                       content->length (film) * _timeline.pixels_per_time_unit(),
+                       content->length () * _timeline.pixels_per_time_unit(),
                        _timeline.track_height()
                        );
        }