summaryrefslogtreecommitdiff
path: root/src/wx/gl_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/gl_video_view.cc
parent7da4fe1c2de3c184a22dbcd1195fc6cffb83ac51 (diff)
Move _dropped into VideoView.
Diffstat (limited to 'src/wx/gl_video_view.cc')
-rw-r--r--src/wx/gl_video_view.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wx/gl_video_view.cc b/src/wx/gl_video_view.cc
index 934a91ad5..55c6cc969 100644
--- a/src/wx/gl_video_view.cc
+++ b/src/wx/gl_video_view.cc
@@ -275,6 +275,8 @@ GLVideoView::set_image (shared_ptr<const Image> image)
void
GLVideoView::start ()
{
+ VideoView::start ();
+
boost::mutex::scoped_lock lm (_playing_mutex);
_playing = true;
_playing_condition.notify_all ();
@@ -319,6 +321,7 @@ try
while (time_until_next_frame() < 5) {
get_next_frame (true);
+ add_dropped ();
}
boost::this_thread::interruption_point ();