Move _dropped into VideoView.
[dcpomatic.git] / src / wx / simple_video_view.cc
index f928770ad38bb56e534e3c23041de8ace20d4075..33e2834c5bba8820855d3eeba336455c87dbae4c 100644 (file)
@@ -169,6 +169,7 @@ SimpleVideoView::timer ()
 void
 SimpleVideoView::start ()
 {
 void
 SimpleVideoView::start ()
 {
+       VideoView::start ();
        timer ();
 }
 
        timer ();
 }
 
@@ -216,7 +217,7 @@ SimpleVideoView::display_player_video ()
                /* Too late; just drop this frame before we try to get its image (which will be the time-consuming
                   part if this frame is J2K).
                */
                /* Too late; just drop this frame before we try to get its image (which will be the time-consuming
                   part if this frame is J2K).
                */
-               ++_viewer->_dropped;
+               add_dropped ();
                return;
        }
 
                return;
        }