Fix error when pressing the HTTP server play button twice in a row.
authorCarl Hetherington <cth@carlh.net>
Thu, 3 Apr 2025 20:04:18 +0000 (22:04 +0200)
committerCarl Hetherington <cth@carlh.net>
Thu, 3 Apr 2025 20:04:18 +0000 (22:04 +0200)
src/wx/film_viewer.cc

index 26c3467aad81b305423e707a4fee75c6f71cca42..9574073381c84221cf32bbb0626740c6f9e2a25c 100644 (file)
@@ -382,7 +382,7 @@ FilmViewer::resume ()
 void
 FilmViewer::start ()
 {
-       if (!_film) {
+       if (!_film || _playing) {
                return;
        }