From 7db99ef207c68910ee96a3e806c9832e8f90b219 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 14 Feb 2017 09:53:22 +0000 Subject: Fix crash on startup. --- src/wx/film_viewer.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index c17927ac5..a5371fcf0 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -570,6 +570,10 @@ FilmViewer::jump_to_selected_clicked () void FilmViewer::seek (DCPTime t, bool accurate) { + if (!_player) { + return; + } + _player->seek (t, accurate); _last_seek_accurate = accurate; get (); -- cgit v1.2.3