summaryrefslogtreecommitdiff
path: root/src/wx/simple_video_view.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-11-20 23:07:55 +0100
committerCarl Hetherington <cth@carlh.net>2020-01-08 21:56:47 +0100
commit5aff601c454fa756c0ab71ae4bcf8f7f4ce28737 (patch)
treed453bc6c8e37ba2c2601a477c3d314a86721d62c /src/wx/simple_video_view.cc
parent7da4fe1c2de3c184a22dbcd1195fc6cffb83ac51 (diff)
Move _dropped into VideoView.
Diffstat (limited to 'src/wx/simple_video_view.cc')
-rw-r--r--src/wx/simple_video_view.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/simple_video_view.cc b/src/wx/simple_video_view.cc
index f928770ad..33e2834c5 100644
--- a/src/wx/simple_video_view.cc
+++ b/src/wx/simple_video_view.cc
@@ -169,6 +169,7 @@ SimpleVideoView::timer ()
void
SimpleVideoView::start ()
{
+ VideoView::start ();
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).
*/
- ++_viewer->_dropped;
+ add_dropped ();
return;
}