Various tweaks to fix playback at the end of a film (#1858).
authorCarl Hetherington <cth@carlh.net>
Wed, 23 Dec 2020 00:52:21 +0000 (01:52 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 23 Dec 2020 00:52:21 +0000 (01:52 +0100)
commit6516fb170b0e7a83c582a858fb54d1f83f751cc0
tree2182093659f83d482352e844c2170dd3c550a15a
parente026ba2c11f16fe2d486acdd489050538e66fece
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.
src/wx/film_viewer.cc
src/wx/gl_video_view.cc
src/wx/gl_video_view.h
src/wx/simple_video_view.cc
src/wx/simple_video_view.h
src/wx/video_view.cc
src/wx/video_view.h