projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dec5ae1
)
Fix crash.
author
Carl Hetherington
<cth@carlh.net>
Thu, 6 Feb 2020 20:56:49 +0000
(21:56 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 6 Feb 2020 20:56:49 +0000
(21:56 +0100)
src/wx/gl_video_view.cc
patch
|
blob
|
history
diff --git
a/src/wx/gl_video_view.cc
b/src/wx/gl_video_view.cc
index ebf4098e4c814693718e25be61a3b631776b7560..0e4bcb671b88cfbebdba84ac0fe55a6b42169fe8 100644
(file)
--- a/
src/wx/gl_video_view.cc
+++ b/
src/wx/gl_video_view.cc
@@
-117,6
+117,10
@@
GLVideoView::~GLVideoView ()
void
GLVideoView::check_for_butler_errors ()
{
void
GLVideoView::check_for_butler_errors ()
{
+ if (!_viewer->butler()) {
+ return;
+ }
+
try {
_viewer->butler()->rethrow ();
} catch (DecodeError& e) {
try {
_viewer->butler()->rethrow ();
} catch (DecodeError& e) {