X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Ffilm_viewer.cc;h=17573b4388053fe1ea09539510d8632a7770cffa;hp=f921f83bd7ac4285f5cd358471ca5924446a849c;hb=b33437685e43427459e7ea752f3cd3d621878573;hpb=706f73390eb37f16b220177650ea7e70c2462150 diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index f921f83bd..17573b438 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -286,6 +286,7 @@ FilmViewer::suspend () void FilmViewer::resume () { + DCPOMATIC_ASSERT (_suspended > 0); --_suspended; if (_playing && !_suspended) { if (_audio.isStreamOpen()) {