projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c6ff23
)
Fix crash on hotkey-opening the menu then pressing right a few times.
author
Carl Hetherington
<cth@carlh.net>
Tue, 10 Dec 2019 23:04:56 +0000
(
00:04
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 10 Dec 2019 23:04:56 +0000
(
00: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 9b01cd394bdee06f65e30915e381f7f3a1b6f8cd..893e1bf0fe4569dec8ede2d80bf75acc213b7beb 100644
(file)
--- a/
src/wx/film_viewer.cc
+++ b/
src/wx/film_viewer.cc
@@
-754,7
+754,7
@@
FilmViewer::dcp_decode_reduction () const
DCPTime
FilmViewer::one_video_frame () const
{
- return DCPTime::from_frames (1, _film
->video_frame_rate()
);
+ return DCPTime::from_frames (1, _film
? _film->video_frame_rate() : 24
);
}
/** Open a dialog box showing our film's closed captions */