diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-02-14 09:53:22 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-04-19 23:04:32 +0100 |
| commit | 7db99ef207c68910ee96a3e806c9832e8f90b219 (patch) | |
| tree | a9a38d95077b40db2b916e52968eeb01f6c0754c /src | |
| parent | b800a9051f068b4b11a08248601bc7099e79807f (diff) | |
Fix crash on startup.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/film_viewer.cc | 4 |
1 files changed, 4 insertions, 0 deletions
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 (); |
