projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e82c762
)
Add defensive check.
author
Carl Hetherington
<cth@carlh.net>
Thu, 4 Jun 2020 23:18:31 +0000
(
01:18
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 4 Jun 2020 23:18:31 +0000
(
01:18
+0200)
src/wx/film_viewer.cc
patch
|
blob
|
history
diff --git
a/src/wx/film_viewer.cc
b/src/wx/film_viewer.cc
index bb483f0e235c98cace1283c627bf0957f893ad4c..21a35c227465e3631444a9cac687bccc84c77bd3 100644
(file)
--- a/
src/wx/film_viewer.cc
+++ b/
src/wx/film_viewer.cc
@@
-431,7
+431,7
@@
FilmViewer::slow_refresh ()
bool
FilmViewer::quick_refresh ()
{
bool
FilmViewer::quick_refresh ()
{
- if (!_video_view || !_film) {
+ if (!_video_view || !_film
|| !_player
) {
return true;
}
return _video_view->refresh_metadata (_film, _player->video_container_size(), _film->frame_size());
return true;
}
return _video_view->refresh_metadata (_film, _player->video_container_size(), _film->frame_size());