projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b800a90
)
Fix crash on startup.
author
Carl Hetherington
<cth@carlh.net>
Tue, 14 Feb 2017 09:53:22 +0000
(09:53 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 19 Apr 2017 22:04:32 +0000
(23:04 +0100)
src/wx/film_viewer.cc
patch
|
blob
|
history
diff --git
a/src/wx/film_viewer.cc
b/src/wx/film_viewer.cc
index c17927ac5bc0de8d483004ed4c41dcd69c9bbb16..a5371fcf0adcdffbe48b6523104629f7dd278c45 100644
(file)
--- 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 ();