diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-12-23 01:52:21 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-12-23 01:52:21 +0100 |
| commit | 6516fb170b0e7a83c582a858fb54d1f83f751cc0 (patch) | |
| tree | 2182093659f83d482352e844c2170dd3c550a15a /src/wx/gl_video_view.h | |
| parent | e026ba2c11f16fe2d486acdd489050538e66fece (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/gl_video_view.h')
| -rw-r--r-- | src/wx/gl_video_view.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/gl_video_view.h b/src/wx/gl_video_view.h index 1f9ed08ea..675b324fc 100644 --- a/src/wx/gl_video_view.h +++ b/src/wx/gl_video_view.h @@ -48,7 +48,7 @@ public: void start (); void stop (); - bool display_next_frame (bool); + NextFrameResult display_next_frame (bool); bool vsync_enabled () const { return _vsync_enabled; |
