summaryrefslogtreecommitdiff
path: root/src/wx/simple_video_view.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-12-23 01:52:21 +0100
committerCarl Hetherington <cth@carlh.net>2020-12-23 01:52:21 +0100
commit6516fb170b0e7a83c582a858fb54d1f83f751cc0 (patch)
tree2182093659f83d482352e844c2170dd3c550a15a /src/wx/simple_video_view.h
parente026ba2c11f16fe2d486acdd489050538e66fece (diff)
Various tweaks to fix playback at the end of a film (#1858).
The most questionable change here is probably how SimpleVideoView::display_next_frame no longer re-schedules itself if the call to get_next_frame returned AGAIN; it seems wrong to do that when FilmViewer::idle_handler() also reschedules itself when display_next_frame() returns AGAIN.
Diffstat (limited to 'src/wx/simple_video_view.h')
-rw-r--r--src/wx/simple_video_view.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/simple_video_view.h b/src/wx/simple_video_view.h
index 323047ada..93b9c6e3d 100644
--- a/src/wx/simple_video_view.h
+++ b/src/wx/simple_video_view.h
@@ -39,7 +39,7 @@ public:
void update ();
void start ();
- bool display_next_frame (bool non_blocking);
+ NextFrameResult display_next_frame (bool non_blocking);
private:
void set_image (boost::shared_ptr<const Image> image) {