Tweak main window layout. Fix crash on play with no content.
[dcpomatic.git] / src / wx / film_viewer.cc
index 6478b8541443a36be6fe015d19483bb14d95007e..d08afe7a472912f0c7e86420996ec85a51c9d25e 100644 (file)
@@ -382,7 +382,7 @@ FilmViewer::play_clicked (wxCommandEvent &)
 void
 FilmViewer::check_play_state ()
 {
-       if (!_film) {
+       if (!_film || _film->dcp_video_frame_rate() == 0) {
                return;
        }