Clean up access to stuff from Film.
[dcpomatic.git] / src / wx / video_view.cc
index e1a8b7306681b12972b63abb5c5780f92ef0cf2b..6478ff2a654ada0b0d58ef0ca32c1d1cd3f9fed6 100644 (file)
@@ -67,7 +67,7 @@ VideoView::get_next_frame (bool non_blocking)
 dcpomatic::DCPTime
 VideoView::one_video_frame () const
 {
-       return dcpomatic::DCPTime::from_frames (1, film()->video_frame_rate());
+       return dcpomatic::DCPTime::from_frames (1, video_frame_rate());
 }
 
 /* XXX_b: comment */